forked from loafle/openapi-generator-original
[Spring] Fix generated api ignore basePath (#10573)
* remove @RequestMapping from the apiController.mustache file and add it to the api.mustache file * move the defaultBasePath.mustache file in src/main/resources/JavaSpring so that it commun with all Spring server-side libraries (spring-boot, spring-mvc). The value of default context path is the value of contextPath variable. * added a unit test to verify it * update the outputDir variable to samples/server/petstore/spring-stubs in the bin/configs/spring-stubs.yaml file because it generates Spring server-side classes. And not on the client-side as the output directory seemed to suggest. * Results of "generate-samples.sh bin/configs/spring*" command * Remove default value of url in @FeignClient * resolve conflicts with origin/master * merge remote/master into branch * fix samples after a merge with master * delete the directory samples/client/petstore/spring-stubs because it moved to samples/openapi3/... * add samples/client/petstore/spring-stubs just for the CI build (normally it is unnecessary)) * delete 3 kotlin class files commited by error in samples/server/petstore/kotlin-springboot and samples/server/petstore/kotlin-springboot-reactive * Update the unit test SpringCodegenTest.doAnnotateDatesOnModelParameters because one more annotation is generated (@RequestMapping) Co-authored-by: rpruvost <rpruvost@ITEM-S78402.emea.msad.sopra> Co-authored-by: rpruvost <rpruvost@ITEM-S78402> Co-authored-by: rpruvost <rpruvost>
This commit is contained in:
parent
3c4948ac08
commit
032e1a42d6
@ -1,5 +1,5 @@
|
|||||||
generatorName: spring
|
generatorName: spring
|
||||||
outputDir: samples/client/petstore/spring-stubs
|
outputDir: samples/server/petstore/spring-stubs
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
|
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
@ -96,6 +96,9 @@ import javax.annotation.Generated;
|
|||||||
{{#virtualService}}
|
{{#virtualService}}
|
||||||
@VirtualService
|
@VirtualService
|
||||||
{{/virtualService}}
|
{{/virtualService}}
|
||||||
|
{{=<% %>=}}
|
||||||
|
@RequestMapping("${openapi.<%title%>.base-path:<%>defaultBasePath%>}")
|
||||||
|
<%={{ }}=%>
|
||||||
public interface {{classname}} {
|
public interface {{classname}} {
|
||||||
{{#jdk8-default-interface}}
|
{{#jdk8-default-interface}}
|
||||||
{{^isDelegate}}
|
{{^isDelegate}}
|
||||||
|
@ -58,9 +58,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
{{>generatedAnnotation}}
|
{{>generatedAnnotation}}
|
||||||
@Controller
|
@Controller
|
||||||
{{=<% %>=}}
|
|
||||||
@RequestMapping("${openapi.<%title%>.base-path:<%>defaultBasePath%>}")
|
|
||||||
<%={{ }}=%>
|
|
||||||
{{#operations}}
|
{{#operations}}
|
||||||
public class {{classname}}Controller implements {{classname}} {
|
public class {{classname}}Controller implements {{classname}} {
|
||||||
{{#isDelegate}}
|
{{#isDelegate}}
|
||||||
|
@ -3,6 +3,8 @@ package {{package}};
|
|||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import {{configPackage}}.ClientConfiguration;
|
import {{configPackage}}.ClientConfiguration;
|
||||||
|
|
||||||
@FeignClient(name="${{openbrace}}{{classVarName}}.name:{{classVarName}}{{closebrace}}", {{#useFeignClientUrl}}url="${{openbrace}}{{classVarName}}.url:{{basePath}}{{closebrace}}", {{/useFeignClientUrl}}configuration = ClientConfiguration.class)
|
{{=<% %>=}}
|
||||||
|
@FeignClient(name="${<%classVarName%>.name:<%classVarName%>}", url="${<%classVarName%>.url:<%basePath%>}", configuration = ClientConfiguration.class)
|
||||||
|
<%={{ }}=%>
|
||||||
public interface {{classname}}Client extends {{classname}} {
|
public interface {{classname}}Client extends {{classname}} {
|
||||||
}
|
}
|
||||||
|
@ -105,9 +105,10 @@ public class SpringCodegenTest {
|
|||||||
|
|
||||||
JavaFileAssert.assertThat(Paths.get(outputPath + "/src/main/java/org/openapitools/api/ZebrasApi.java"))
|
JavaFileAssert.assertThat(Paths.get(outputPath + "/src/main/java/org/openapitools/api/ZebrasApi.java"))
|
||||||
.assertTypeAnnotations()
|
.assertTypeAnnotations()
|
||||||
.hasSize(3)
|
.hasSize(4)
|
||||||
.containsWithName("Validated")
|
.containsWithName("Validated")
|
||||||
.containsWithName("Generated")
|
.containsWithName("Generated")
|
||||||
|
.containsWithName("RequestMapping")
|
||||||
.containsWithNameAndAttributes("Generated", ImmutableMap.of(
|
.containsWithNameAndAttributes("Generated", ImmutableMap.of(
|
||||||
"value", "\"org.openapitools.codegen.languages.SpringCodegen\""
|
"value", "\"org.openapitools.codegen.languages.SpringCodegen\""
|
||||||
))
|
))
|
||||||
@ -654,6 +655,22 @@ public class SpringCodegenTest {
|
|||||||
"MultipartFile file");
|
"MultipartFile file");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testRequestMappingAnnotation() throws IOException {
|
||||||
|
final SpringCodegen codegen = new SpringCodegen();
|
||||||
|
codegen.setLibrary("spring-boot");
|
||||||
|
|
||||||
|
final Map<String, File> files = generateFiles(codegen, "src/test/resources/2_0/petstore.yaml");
|
||||||
|
|
||||||
|
// Check that the @RequestMapping annotation is generated in the Api file
|
||||||
|
final File petApiFile = files.get("PetApi.java");
|
||||||
|
assertFileContains(petApiFile.toPath(), "@RequestMapping(\"${openapi.openAPIPetstore.base-path:/v2}\")");
|
||||||
|
|
||||||
|
// Check that the @RequestMapping annotation is not generated in the Controller file
|
||||||
|
final File petApiControllerFile = files.get("PetApiController.java");
|
||||||
|
assertFileNotContains(petApiControllerFile.toPath(), "@RequestMapping(\"${openapi.openAPIPetstore.base-path:/v2}\")");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSettersForConfigValues() throws Exception {
|
public void testSettersForConfigValues() throws Exception {
|
||||||
final SpringCodegen codegen = new SpringCodegen();
|
final SpringCodegen codegen = new SpringCodegen();
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
#include "AbstractService.h"
|
||||||
|
#include "Arduino.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void Tiny::AbstractService::begin(std::string url){
|
||||||
|
http.begin(String(url.c_str()), test_root_ca); //HTTPS connection
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
#ifndef TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
|
||||||
|
#define TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
|
||||||
|
|
||||||
|
#include "HTTPClient.h"
|
||||||
|
#include "Response.h"
|
||||||
|
namespace Tiny {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class
|
||||||
|
* Generated with openapi::tiny-cpp-client
|
||||||
|
*/
|
||||||
|
class AbstractService {
|
||||||
|
public:
|
||||||
|
HTTPClient http;
|
||||||
|
std::string basepath = "https://petstore3.swagger.io/api/v3"; // TODO: change to your url
|
||||||
|
|
||||||
|
void begin(std::string url);
|
||||||
|
|
||||||
|
// Go and comment out a certificate in root.cert, if you get an error here
|
||||||
|
// Certificate from file
|
||||||
|
const char* test_root_ca =
|
||||||
|
#include "../../root.cert"
|
||||||
|
;
|
||||||
|
|
||||||
|
}; // end class
|
||||||
|
}// namespace Tinyclient
|
||||||
|
|
||||||
|
#endif /* TINY_CPP_CLIENT_ABSTRACTSERVICE_H_ */
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Pet", description = "Everything about your Pets")
|
@Api(value = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Store", description = "Access to Petstore orders")
|
@Api(value = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -28,6 +28,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "User", description = "Operations about user")
|
@Api(value = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Default", description = "the Default API")
|
@Api(value = "Default", description = "the Default API")
|
||||||
|
@RequestMapping("${openapi.apiDocumentation.base-path:}")
|
||||||
public interface DefaultApi {
|
public interface DefaultApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Pet", description = "Everything about your Pets")
|
@Api(value = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,6 +3,6 @@ package org.openapitools.api;
|
|||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.openapitools.configuration.ClientConfiguration;
|
import org.openapitools.configuration.ClientConfiguration;
|
||||||
|
|
||||||
@FeignClient(name="${pet.name:pet}", configuration = ClientConfiguration.class)
|
@FeignClient(name="${pet.name:pet}", url="${pet.url:http://petstore.swagger.io/v2}", configuration = ClientConfiguration.class)
|
||||||
public interface PetApiClient extends PetApi {
|
public interface PetApiClient extends PetApi {
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Store", description = "Access to Petstore orders")
|
@Api(value = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,6 +3,6 @@ package org.openapitools.api;
|
|||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.openapitools.configuration.ClientConfiguration;
|
import org.openapitools.configuration.ClientConfiguration;
|
||||||
|
|
||||||
@FeignClient(name="${store.name:store}", configuration = ClientConfiguration.class)
|
@FeignClient(name="${store.name:store}", url="${store.url:http://petstore.swagger.io/v2}", configuration = ClientConfiguration.class)
|
||||||
public interface StoreApiClient extends StoreApi {
|
public interface StoreApiClient extends StoreApi {
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "User", description = "Operations about user")
|
@Api(value = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,6 +3,6 @@ package org.openapitools.api;
|
|||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.openapitools.configuration.ClientConfiguration;
|
import org.openapitools.configuration.ClientConfiguration;
|
||||||
|
|
||||||
@FeignClient(name="${user.name:user}", configuration = ClientConfiguration.class)
|
@FeignClient(name="${user.name:user}", url="${user.url:http://petstore.swagger.io/v2}", configuration = ClientConfiguration.class)
|
||||||
public interface UserApiClient extends UserApi {
|
public interface UserApiClient extends UserApi {
|
||||||
}
|
}
|
||||||
|
@ -28,6 +28,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Pet", description = "Everything about your Pets")
|
@Api(value = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Store", description = "Access to Petstore orders")
|
@Api(value = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "User", description = "Operations about user")
|
@Api(value = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Pet", description = "Everything about your Pets")
|
@Api(value = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "Store", description = "Access to Petstore orders")
|
@Api(value = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "User", description = "Operations about user")
|
@Api(value = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
.openapi-generator-ignore
|
||||||
README.md
|
README.md
|
||||||
pom.xml
|
pom.xml
|
||||||
src/main/java/org/openapitools/api/ApiUtil.java
|
src/main/java/org/openapitools/api/ApiUtil.java
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "pet", description = "Everything about your Pets")
|
@Api(value = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -26,6 +26,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "store", description = "Access to Petstore orders")
|
@Api(value = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -27,6 +27,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Api(value = "user", description = "Operations about user")
|
@Api(value = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -33,6 +33,7 @@ import jakarta.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Pet", description = "Everything about your Pets")
|
@Tag(name = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import jakarta.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Store", description = "Access to Petstore orders")
|
@Tag(name = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import jakarta.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "User", description = "Operations about user")
|
@Tag(name = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Pet", description = "Everything about your Pets")
|
@Tag(name = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Store", description = "Access to Petstore orders")
|
@Tag(name = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,6 +35,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "User", description = "Operations about user")
|
@Tag(name = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Default", description = "the Default API")
|
@Tag(name = "Default", description = "the Default API")
|
||||||
|
@RequestMapping("${openapi.apiDocumentation.base-path:}")
|
||||||
public interface DefaultApi {
|
public interface DefaultApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,6 +32,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "AnotherFake", description = "the AnotherFake API")
|
@Tag(name = "AnotherFake", description = "the AnotherFake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface AnotherFakeApi {
|
public interface AnotherFakeApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -41,6 +41,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Fake", description = "the Fake API")
|
@Tag(name = "Fake", description = "the Fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeApi {
|
public interface FakeApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -32,6 +32,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "FakeClassnameTags123", description = "the FakeClassnameTags123 API")
|
@Tag(name = "FakeClassnameTags123", description = "the FakeClassnameTags123 API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeClassnameTags123Api {
|
public interface FakeClassnameTags123Api {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Pet", description = "Everything about your Pets")
|
@Tag(name = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Store", description = "Access to Petstore orders")
|
@Tag(name = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "User", description = "Operations about user")
|
@Tag(name = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -35,6 +35,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Pet", description = "Everything about your Pets")
|
@Tag(name = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Store", description = "Access to Petstore orders")
|
@Tag(name = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "User", description = "Operations about user")
|
@Tag(name = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Pet", description = "Everything about your Pets")
|
@Tag(name = "Pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "Store", description = "Access to Petstore orders")
|
@Tag(name = "Store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "User", description = "Operations about user")
|
@Tag(name = "User", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "store", description = "Access to Petstore orders")
|
@Tag(name = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "user", description = "Operations about user")
|
@Tag(name = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "store", description = "Access to Petstore orders")
|
@Tag(name = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "user", description = "Operations about user")
|
@Tag(name = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "bar", description = "the bar API")
|
@Tag(name = "bar", description = "the bar API")
|
||||||
|
@RequestMapping("${openapi.byRefOrValue.base-path:}")
|
||||||
public interface BarApi {
|
public interface BarApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.byRefOrValue.base-path:}")
|
|
||||||
public class BarApiController implements BarApi {
|
public class BarApiController implements BarApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "foo", description = "the foo API")
|
@Tag(name = "foo", description = "the foo API")
|
||||||
|
@RequestMapping("${openapi.byRefOrValue.base-path:}")
|
||||||
public interface FooApi {
|
public interface FooApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.byRefOrValue.base-path:}")
|
|
||||||
public class FooApiController implements FooApi {
|
public class FooApiController implements FooApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class PetApiController implements PetApi {
|
public class PetApiController implements PetApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "store", description = "Access to Petstore orders")
|
@Tag(name = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class StoreApiController implements StoreApi {
|
public class StoreApiController implements StoreApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "user", description = "Operations about user")
|
@Tag(name = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -30,7 +30,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class UserApiController implements UserApi {
|
public class UserApiController implements UserApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -33,6 +33,7 @@ import jakarta.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import jakarta.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class PetApiController implements PetApi {
|
public class PetApiController implements PetApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -33,6 +33,7 @@ import jakarta.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "store", description = "Access to Petstore orders")
|
@Tag(name = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import jakarta.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class StoreApiController implements StoreApi {
|
public class StoreApiController implements StoreApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -34,6 +34,7 @@ import jakarta.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "user", description = "Operations about user")
|
@Tag(name = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -30,7 +30,6 @@ import jakarta.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class UserApiController implements UserApi {
|
public class UserApiController implements UserApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -32,6 +32,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "another-fake", description = "the another-fake API")
|
@Tag(name = "another-fake", description = "the another-fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface AnotherFakeApi {
|
public interface AnotherFakeApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -28,7 +28,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class AnotherFakeApiController implements AnotherFakeApi {
|
public class AnotherFakeApiController implements AnotherFakeApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -42,6 +42,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "fake", description = "the fake API")
|
@Tag(name = "fake", description = "the fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeApi {
|
public interface FakeApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -38,7 +38,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class FakeApiController implements FakeApi {
|
public class FakeApiController implements FakeApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -32,6 +32,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
|
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeClassnameTestApi {
|
public interface FakeClassnameTestApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -28,7 +28,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class FakeClassnameTestApiController implements FakeClassnameTestApi {
|
public class FakeClassnameTestApiController implements FakeClassnameTestApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -30,7 +30,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class PetApiController implements PetApi {
|
public class PetApiController implements PetApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -33,6 +33,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "store", description = "Access to Petstore orders")
|
@Tag(name = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class StoreApiController implements StoreApi {
|
public class StoreApiController implements StoreApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "user", description = "Operations about user")
|
@Tag(name = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -30,7 +30,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class UserApiController implements UserApi {
|
public class UserApiController implements UserApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -28,6 +28,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "another-fake", description = "the another-fake API")
|
@Tag(name = "another-fake", description = "the another-fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface AnotherFakeApi {
|
public interface AnotherFakeApi {
|
||||||
|
|
||||||
default AnotherFakeApiDelegate getDelegate() {
|
default AnotherFakeApiDelegate getDelegate() {
|
||||||
|
@ -27,7 +27,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class AnotherFakeApiController implements AnotherFakeApi {
|
public class AnotherFakeApiController implements AnotherFakeApi {
|
||||||
|
|
||||||
private final AnotherFakeApiDelegate delegate;
|
private final AnotherFakeApiDelegate delegate;
|
||||||
|
@ -38,6 +38,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "fake", description = "the fake API")
|
@Tag(name = "fake", description = "the fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeApi {
|
public interface FakeApi {
|
||||||
|
|
||||||
default FakeApiDelegate getDelegate() {
|
default FakeApiDelegate getDelegate() {
|
||||||
|
@ -37,7 +37,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class FakeApiController implements FakeApi {
|
public class FakeApiController implements FakeApi {
|
||||||
|
|
||||||
private final FakeApiDelegate delegate;
|
private final FakeApiDelegate delegate;
|
||||||
|
@ -28,6 +28,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
|
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeClassnameTestApi {
|
public interface FakeClassnameTestApi {
|
||||||
|
|
||||||
default FakeClassnameTestApiDelegate getDelegate() {
|
default FakeClassnameTestApiDelegate getDelegate() {
|
||||||
|
@ -27,7 +27,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class FakeClassnameTestApiController implements FakeClassnameTestApi {
|
public class FakeClassnameTestApiController implements FakeClassnameTestApi {
|
||||||
|
|
||||||
private final FakeClassnameTestApiDelegate delegate;
|
private final FakeClassnameTestApiDelegate delegate;
|
||||||
|
@ -30,6 +30,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default PetApiDelegate getDelegate() {
|
default PetApiDelegate getDelegate() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class PetApiController implements PetApi {
|
public class PetApiController implements PetApi {
|
||||||
|
|
||||||
private final PetApiDelegate delegate;
|
private final PetApiDelegate delegate;
|
||||||
|
@ -29,6 +29,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "store", description = "Access to Petstore orders")
|
@Tag(name = "store", description = "Access to Petstore orders")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface StoreApi {
|
public interface StoreApi {
|
||||||
|
|
||||||
default StoreApiDelegate getDelegate() {
|
default StoreApiDelegate getDelegate() {
|
||||||
|
@ -28,7 +28,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class StoreApiController implements StoreApi {
|
public class StoreApiController implements StoreApi {
|
||||||
|
|
||||||
private final StoreApiDelegate delegate;
|
private final StoreApiDelegate delegate;
|
||||||
|
@ -30,6 +30,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "user", description = "Operations about user")
|
@Tag(name = "user", description = "Operations about user")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface UserApi {
|
public interface UserApi {
|
||||||
|
|
||||||
default UserApiDelegate getDelegate() {
|
default UserApiDelegate getDelegate() {
|
||||||
|
@ -29,7 +29,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class UserApiController implements UserApi {
|
public class UserApiController implements UserApi {
|
||||||
|
|
||||||
private final UserApiDelegate delegate;
|
private final UserApiDelegate delegate;
|
||||||
|
@ -32,6 +32,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "another-fake", description = "the another-fake API")
|
@Tag(name = "another-fake", description = "the another-fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface AnotherFakeApi {
|
public interface AnotherFakeApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -28,7 +28,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class AnotherFakeApiController implements AnotherFakeApi {
|
public class AnotherFakeApiController implements AnotherFakeApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -42,6 +42,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "fake", description = "the fake API")
|
@Tag(name = "fake", description = "the fake API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeApi {
|
public interface FakeApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -38,7 +38,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class FakeApiController implements FakeApi {
|
public class FakeApiController implements FakeApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -32,6 +32,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
|
@Tag(name = "fake_classname_test", description = "the fake_classname_test API")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface FakeClassnameTestApi {
|
public interface FakeClassnameTestApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
@ -28,7 +28,6 @@ import javax.annotation.Generated;
|
|||||||
|
|
||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
|
||||||
public class FakeClassnameTestApiController implements FakeClassnameTestApi {
|
public class FakeClassnameTestApiController implements FakeClassnameTestApi {
|
||||||
|
|
||||||
private final NativeWebRequest request;
|
private final NativeWebRequest request;
|
||||||
|
@ -34,6 +34,7 @@ import javax.annotation.Generated;
|
|||||||
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
@Generated(value = "org.openapitools.codegen.languages.SpringCodegen")
|
||||||
@Validated
|
@Validated
|
||||||
@Tag(name = "pet", description = "Everything about your Pets")
|
@Tag(name = "pet", description = "Everything about your Pets")
|
||||||
|
@RequestMapping("${openapi.openAPIPetstore.base-path:/v2}")
|
||||||
public interface PetApi {
|
public interface PetApi {
|
||||||
|
|
||||||
default Optional<NativeWebRequest> getRequest() {
|
default Optional<NativeWebRequest> getRequest() {
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user