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
Hi, I am using OpenApiResponse and have specified Response Serializer. However, when specifying a value to OpenApiResponse, I specify an example value in dict format and I don't know if the example value specified with Response Serializer is valid. How can I solve this?
If a response serializer is specified, it would be nice if validation could be optionally set to True.
The text was updated successfully, but these errors were encountered:
MinYn
changed the title
Question: How can I validate response serializer for <code>OpenApiResponse</code> example value?
Question: How can I validate response serializer for OpenApiResponse example value?
Jan 13, 2025
Describe the bug
Hi, I am using OpenApiResponse and have specified Response Serializer. However, when specifying a value to OpenApiResponse, I specify an example value in dict format and I don't know if the example value specified with Response Serializer is valid. How can I solve this?
To Reproduce
I applied it to the view as follows.
Expected behavior
If a response serializer is specified, it would be nice if validation could be optionally set to True.
The text was updated successfully, but these errors were encountered: