mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Add pytest to Pipfile
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
gen-model: fetch-v2-schema
|
||||
datamodel-codegen \
|
||||
--input v2.json \
|
||||
--input-file-type jsonschema \
|
||||
--collapse-root-models \
|
||||
--output-model-type pydantic_v2.BaseModel \
|
||||
--output neon_client/schema.py \
|
||||
--use-standard-collections \
|
||||
--output-model-type pydantic_v2.BaseModel \
|
||||
--input-file-type openapi \
|
||||
# --use-standard-collections \
|
||||
--output-model-type dataclasses.dataclass \
|
||||
# --input-file-type openapi \
|
||||
--use-standard-collections \
|
||||
--use-union-operator \
|
||||
--target-python-version 3.11 \
|
||||
--use-schema-description \
|
||||
@@ -18,17 +16,26 @@ gen-model: fetch-v2-schema
|
||||
--allow-population-by-field-name \
|
||||
--use-title-as-name \
|
||||
--reuse-model \
|
||||
--field-constraints \
|
||||
--collapse-root-models \
|
||||
# --field-constraints \
|
||||
--disable-appending-item-suffix \
|
||||
--allow-extra-fields \
|
||||
--capitalise-enum-members \
|
||||
--allow-extra-fields \
|
||||
--use-field-description \
|
||||
--use-default \
|
||||
--use-enum-values \
|
||||
--reuse-model \
|
||||
--use-unique-items-as-set \
|
||||
--set-default-enum-member \
|
||||
--enum-field-as-literal one \
|
||||
--allow-extra-fields \
|
||||
--openapi-scopes {schemas,paths,tags,parameters} \
|
||||
--use-operation-id-as-name \
|
||||
--strict-nullable \
|
||||
--keep-model-order \
|
||||
--field-constraints \
|
||||
|
||||
# --field-constraints \
|
||||
# --use-annotated \
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user