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 sending a request with either application/json or application/x-www-form-urlencoded content type, the default values specified in the schema should be automatically applied if the corresponding fields are missing in the request.
Observed behavior
The default values are correctly applied for application/json, but they are not applied when using application/x-www-form-urlencoded.
The text was updated successfully, but these errors were encountered:
gudimz
changed the title
[SUBJECT]: Default value not applied for application/x-www-form-urlencoded
Default value not applied for application/x-www-form-urlencoded
Mar 13, 2025
What version of ogen are you using?
Swagger example
Implementation of the handler interface
Content type application/json
Content type application/x-www-form-urlencoded
Expected behavior
When sending a request with either application/json or application/x-www-form-urlencoded content type, the default values specified in the schema should be automatically applied if the corresponding fields are missing in the request.
Observed behavior
The default values are correctly applied for application/json, but they are not applied when using application/x-www-form-urlencoded.
The text was updated successfully, but these errors were encountered: