mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-11-25 13:03:44 +00:00
* Support normalizing anyof/oneof enum constraints to a single enum * Add SIMPLIFY_ONEOF_ANYOF_ENUM to the documentation * Process referenced schemas with oneof/enum as well * Implement referenced enum merging from oneof/anyof * Implement retaining the enum description as x-enum-desriptions for oneof enum * Update samples and docs with oneOf enum normalization * update samples to fix python tests * fix test file name * fix incorrect filename --------- Co-authored-by: Pieter Bos <pieter.bos@nedap.com>
18 lines
646 B
YAML
18 lines
646 B
YAML
generatorName: python-pydantic-v1
|
|
outputDir: samples/openapi3/client/petstore/python-pydantic-v1
|
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/python/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
templateDir: modules/openapi-generator/src/main/resources/python-pydantic-v1
|
|
gitHost: GIT_HOST
|
|
gitUserId: GIT_USER_ID
|
|
gitRepoId: GIT_REPO_ID
|
|
additionalProperties:
|
|
packageName: petstore_api
|
|
useOneOfDiscriminatorLookup: "true"
|
|
disallowAdditionalPropertiesIfNotPresent: false
|
|
mapNumberTo: StrictFloat
|
|
nameMappings:
|
|
_type: underscore_type
|
|
type_: type_with_underscore
|
|
openapiNormalizer:
|
|
SIMPLIFY_ONEOF_ANYOF_ENUM: false
|