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
When generating OpenAPI schemas for paginated responses, drf-spectacular does not apply the tweaks for OpenAPI 3.1 schemas found in the drf_spectacular.plumbing.append_meta function. The 3.0 schema is copied as is without changes.
To Reproduce
Create a paginated view and check the generated schema.
Expected behavior
An OpenAPI 3.1 compatible schema is returned. Individual field schemas should not contain nullable or example properties.
The text was updated successfully, but these errors were encountered:
Describe the bug
When generating OpenAPI schemas for paginated responses, drf-spectacular does not apply the tweaks for OpenAPI 3.1 schemas found in the
drf_spectacular.plumbing.append_meta
function. The 3.0 schema is copied as is without changes.To Reproduce
Create a paginated view and check the generated schema.
Expected behavior
An OpenAPI 3.1 compatible schema is returned. Individual field schemas should not contain
nullable
orexample
properties.The text was updated successfully, but these errors were encountered: