Describe the bug
The configuration I'm generating a client for declares parameters with in: body, the generation fails with openapi-python-client version: 0.5.4 however:
ERROR parsing POST /alerts within alert. Endpoint will not be generated.
Parameter must be declared in path or query
Parameter(name='alerts', param_in='body', description='The alerts to create', required=True, deprecated=False, allowEmptyValue=False, style=None, explode=False, allowReserved=False, param_schema=Reference(ref='#/definitions/postableAlerts'), example=None, examples=None, content=None)
To Reproduce
Steps to reproduce the behavior:
openapi-python-client generate --url https://raw.githubusercontent.com/prometheus/alertmanager/master/api/v2/openapi.yaml
I'm not familiar with OpenAPI specs and versions, e.g. if this is relevant? https://swagger.io/docs/specification/2-0/describing-request-body/
Describe the bug
The configuration I'm generating a client for declares
parameterswithin: body, the generation fails with openapi-python-client version: 0.5.4 however:To Reproduce
Steps to reproduce the behavior:
openapi-python-client generate --url https://raw.githubusercontent.com/prometheus/alertmanager/master/api/v2/openapi.yamlI'm not familiar with OpenAPI specs and versions, e.g. if this is relevant? https://swagger.io/docs/specification/2-0/describing-request-body/