Closed cansarigol closed 11 months ago
Describe the bug Since variables default value is array, swagger schema validations complain that it should be dict
variables
Screenshots
Expected behavior Make variables object
super().__init__( url=url, description=description, variables=variables or {} )
https://github.com/sanic-org/sanic-ext/blob/75331cd502795e45f99533f184da33017093fdda/sanic_ext/extensions/openapi/definitions.py#L355
Environment (please complete the following information):
Describe the bug Since
variables
default value is array, swagger schema validations complain that it should be dictScreenshots
Expected behavior Make variables object
https://github.com/sanic-org/sanic-ext/blob/75331cd502795e45f99533f184da33017093fdda/sanic_ext/extensions/openapi/definitions.py#L355
Environment (please complete the following information):