mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 04:00:51 +00:00
The default controller implementation returns an empty response. This might result in unexpected behavior when an operation isn't implemented, as a consumer of the API there is no way to notice the difference between an unimplemented method and an actual empty response. By changing the default behavior to return HTTP 501 Not Implemented the user will be made aware of unimplemented methods. The former default behavior, returning an empty response by default, can be activated with a configuration option.
13 lines
448 B
YAML
13 lines
448 B
YAML
generatorName: java-micronaut-server
|
|
outputDir: samples/server/petstore/java-micronaut-server/
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
additionalProperties:
|
|
artifactId: petstore-micronaut-server
|
|
hideGenerationTimestamp: "true"
|
|
build: "all"
|
|
test: "spock"
|
|
requiredPropertiesInConstructor: "true"
|
|
useAuth: "false"
|
|
generateControllerAsAbstract: "false"
|
|
generateOperationsToReturnNotImplemented: "true"
|