You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error(s) encountered while generating, client was not created
Failed to parse OpenAPI document
1 validation error for OpenAPI
paths./v3/media/upload
Input should be a valid dictionary or instance of PathItem [type=model_type, input_value=[], input_type=list]
For further information visit https://errors.pydantic.dev/2.9/v/model_type
When generating from URL.
Removing the given path dict key (value is an empty list object), allow generation, but provides another warning.
WARNING parsing GET /v3/products/{product}/tickets within product_tickets. Endpoint will not be generated.
cannot parse parameter of endpoint listProductTickets: Could not find reference in parsed models or enums
Reference(ref='#/components/schemas/TicketFilter')
Unable to process schema /components/schemas/TicketFilter:
Failure to process schema has resulted in the removal of:
/components/schemas/TicketFilter
Schema(title=None, multipleOf=None, maximum=None, exclusiveMaximum=None, minimum=None, exclusiveMinimum=None, maxLength=None, minLength=None, pattern=None, maxItems=None, minItems=None, uniqueItems=None, maxProperties=None, minProperties=None, required=None, enum=[['open', 'locked']], const=None, type=<DataType.STRING: 'string'>, allOf=[], oneOf=[], anyOf=[], schema_not=None, items=None, properties=None, additionalProperties=None, description='Enum', schema_format=None, default=None, nullable=False, discriminator=None, readOnly=None, writeOnly=None, xml=None, externalDocs=None, example=None, deprecated=None)
Reproduction Steps
Using openapi-python-client 0.21.5 on Python 3.12, call generate command.
Expected Behavior
Generation
Actual Behavior
When generating from URL.
Removing the given path dict key (value is an empty list object), allow generation, but provides another warning.
Reproduction Steps
Browsers
openapi-python-client 0.21.5, Python 3.12
Example URL
https://www.gmodstore.com/openapi
Pivity Marketplace Version
v18.14.5
Event ID
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: