forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use yaml config files introduce in OpenAPITools#6509 to manage samples (
- Loading branch information
Showing
15 changed files
with
58 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: java | ||
outputDir: samples/client/petstore/java/feign-no-nullable | ||
library: feign | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/Java | ||
additionalProperties: | ||
booleanGetterPrefix: is | ||
artifactId: petstore-feign-no-nullable | ||
hideGenerationTimestamp: "true" | ||
additionalModelTypeAnnotations: '@javax.annotation.concurrent.Immutable' | ||
openApiNullable: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
generatorName: java-play-framework | ||
outputDir: samples/server/petstore/java-play-framework-no-nullable | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/JavaPlayFramework | ||
additionalProperties: | ||
hideGenerationTimestamp: "true" | ||
openApiNullable: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
generatorName: java | ||
outputDir: samples/client/petstore/java/vertx-no-nullable | ||
library: vertx | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/Java | ||
additionalProperties: | ||
artifactId: petstore-vertx-no-nullable | ||
hideGenerationTimestamp: "true" | ||
openApiNullable: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: spring | ||
outputDir: samples/server/petstore/springboot-beanvalidation-no-nullable | ||
library: spring-boot | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring | ||
additionalProperties: | ||
java8: "false" | ||
useBeanValidation: true | ||
artifactId: spring-boot-beanvalidation-no-nullable | ||
hideGenerationTimestamp: "true" | ||
openApiNullable: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: spring | ||
outputDir: samples/client/petstore/spring-cloud-no-nullable | ||
library: spring-cloud | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring/libraries/spring-cloud | ||
additionalProperties: | ||
artifactId: petstore-spring-cloud-no-nullable | ||
responseWrapper: HystrixCommand | ||
hideGenerationTimestamp: "true" | ||
openApiNullable: "false" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
generatorName: spring | ||
outputDir: samples/server/petstore/spring-mvc-no-nullable | ||
library: spring-mvc | ||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring | ||
additionalProperties: | ||
artifactId: spring-mvc-server-no-nullable | ||
openApiNullable: "false" | ||
serverPort: "8002" | ||
hideGenerationTimestamp: "true" |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
bin/springboot-petstore-server-beanvalidation-no-nullable.sh
This file was deleted.
Oops, something went wrong.