latest--python.schema
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/speakeasy-generation-config-file/_shared/latest--python.schema.json |
| Parent schema | speakeasy-generation-config-file |
Schema for configuration specific to a python SDK
Properties
The distribution name of the PyPI Package. https://docs.python.org/3.11/distutils/setupscript.html#additional-meta-data
The current version of the SDK
Whether to treat 4xx and 5xx status codes as errors.
The name of the default exception that is raised when an API error occurs.
A short description of the project. https://python-poetry.org/docs/pyproject/#description
The URL for the documentation of the project. https://python-poetry.org/docs/pyproject/#documentation
Allow custom code to be inserted into the generated SDK.
Determines the format to express enums in Python
The environment variable prefix for security and global env variable overrides. If empty these overrides will not be possible
Flatten the global security configuration if there is only a single option in the spec
Turn request parameters and body fields into a flat list of method arguments. This takes precedence over maxMethodParams. If there is no request body then maxMethodParams will be respected.
When flattening parameters and body fields, determines the ordering of generated method arguments.
The URL for the homepage of the project. https://python-poetry.org/docs/pyproject/#homepage
The suffix to add to models with writeOnly fields that are created as input models
The maximum number of parameters a method can have before the resulting SDK endpoint is no longer 'flattened' and an input object is created instead. 0 will use input objects always. https://www.speakeasy.com/docs/customize-sdks/methods
Determines how arguments for SDK methods are generated
The suffix to add to models with writeOnly fields that are created as input models
Determines the shape of the response envelope that is returned from SDK methods
The template version to use