Skip to content

Commit 71e28b3

Browse files
committed
remove unnecessary imports from httpServiceProxyFactoryInterfacesConfigurator.mustache and parentOverrides from spring-http-interface-useHttpServiceProxyFactoryInterfacesConfiguration.yaml
1 parent 176322a commit 71e28b3

61 files changed

Lines changed: 217 additions & 176 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bin/configs/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfiguration.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,3 @@ additionalProperties:
1515
useBeanValidation: "true"
1616
performBeanValidation: "true"
1717
useHttpServiceProxyFactoryInterfacesConfigurator: "true"
18-
# needed until updating the default parentVersion (3.1.3) to 3.2+
19-
parentGroupId: "org.springframework.boot"
20-
parentArtifactId: "spring-boot-starter-parent"
21-
parentVersion: "3.2.0"

modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-http-interface/httpServiceProxyFactoryInterfacesConfigurator.mustache

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import {{apiPackage}}.{{classname}};
1212
{{/apiInfo}}
1313

1414
import org.springframework.context.annotation.Bean;
15-
import org.springframework.web.client.RestClient;
16-
import org.springframework.web.client.support.RestClientAdapter;
1715
import org.springframework.web.service.invoker.HttpServiceProxyFactory;
1816

1917
public abstract class HttpInterfacesAbstractConfigurator {
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.11.0-SNAPSHOT
1+
7.13.0-SNAPSHOT

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>3.2.0</version>
15+
<version>3.1.3</version>
16+
<relativePath/> <!-- lookup parent from repository -->
1617
</parent>
1718

1819
<build>

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/api/AnotherFakeApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT).
2+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT).
33
* https://openapi-generator.tech
44
* Do not edit the class manually.
55
*/
@@ -17,7 +17,7 @@
1717
import jakarta.annotation.Generated;
1818

1919

20-
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
20+
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT")
2121
public interface AnotherFakeApi {
2222

2323
/**

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/api/FakeApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT).
2+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT).
33
* https://openapi-generator.tech
44
* Do not edit the class manually.
55
*/
@@ -27,7 +27,7 @@
2727
import jakarta.annotation.Generated;
2828

2929

30-
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
30+
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT")
3131
public interface FakeApi {
3232

3333
/**

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT).
2+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT).
33
* https://openapi-generator.tech
44
* Do not edit the class manually.
55
*/
@@ -17,7 +17,7 @@
1717
import jakarta.annotation.Generated;
1818

1919

20-
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
20+
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT")
2121
public interface FakeClassnameTags123Api {
2222

2323
/**

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/api/PetApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT).
2+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT).
33
* https://openapi-generator.tech
44
* Do not edit the class manually.
55
*/
@@ -20,7 +20,7 @@
2020
import jakarta.annotation.Generated;
2121

2222

23-
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
23+
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT")
2424
public interface PetApi {
2525

2626
/**

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/api/StoreApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT).
2+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT).
33
* https://openapi-generator.tech
44
* Do not edit the class manually.
55
*/
@@ -18,7 +18,7 @@
1818
import jakarta.annotation.Generated;
1919

2020

21-
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
21+
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT")
2222
public interface StoreApi {
2323

2424
/**

samples/client/petstore/spring-http-interface-useHttpServiceProxyFactoryInterfacesConfigurator/src/main/java/org/openapitools/api/UserApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.11.0-SNAPSHOT).
2+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech) (7.13.0-SNAPSHOT).
33
* https://openapi-generator.tech
44
* Do not edit the class manually.
55
*/
@@ -18,7 +18,7 @@
1818
import jakarta.annotation.Generated;
1919

2020

21-
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.11.0-SNAPSHOT")
21+
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.13.0-SNAPSHOT")
2222
public interface UserApi {
2323

2424
/**

0 commit comments

Comments
 (0)