forked from loafle/openapi-generator-original
* Copy the current Python generator into a "pydantic v1" generator This generator will be deprecated over time and the normal generator will focus on Pydantic v2. * add missing doc
13 lines
528 B
YAML
13 lines
528 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
|
|
additionalProperties:
|
|
packageName: petstore_api
|
|
useOneOfDiscriminatorLookup: "true"
|
|
disallowAdditionalPropertiesIfNotPresent: false
|
|
mapNumberTo: StrictFloat
|
|
nameMappings:
|
|
_type: underscore_type
|
|
type_: type_with_underscore
|