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
actually i stumbled upon this before but the the schema validation never complained about it (which runs for every test). fyi if you did not see this yet: ./migrate.py spectacular --file schema.yaml --validate
I didn't notice this in the spec though: This field MUST be enclosed in quotation marks (for example, "200") for compatibility between JSON and YAML.
At the moment it is incorrect format:
https://github.com/tfranzel/drf-spectacular/blob/master/tests/test_extend_schema.yml#L53
Must be like "200"
Details:
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#patterned-fields-1
The text was updated successfully, but these errors were encountered: