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
Currently if we want to invoke service with optional nested field in request body we have to convert the parent record to Unknown (e.g. by using #CONV.toAny(...)). After such a conversion we lose validation of possible other required fields in the parent record.
raphaelsolarski
changed the title
OpenAPI - Dealing with nested optional fields requires conversion to Unknown
OpenAPI - Omiting nested optional fields requires conversion to Unknown of parent record
Aug 30, 2023
raphaelsolarski
changed the title
OpenAPI - Omiting nested optional fields requires conversion to Unknown of parent record
OpenAPI - Omitting nested optional fields in request requires conversion to Unknown of parent record
Aug 30, 2023
Currently if we want to invoke service with optional nested field in request body we have to convert the parent record to Unknown (e.g. by using
#CONV.toAny(...)
). After such a conversion we lose validation of possible other required fields in the parent record.Example OpenAPI spec:
Workaround:
The text was updated successfully, but these errors were encountered: