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
Given the following syntax from api.yaml, request validation works fine. However, the response model shows up as "string".
If I remove "shema" from the put responses object, then the api docs show the model correctly but then response validation fails. How can I achieve both?
/tenant/{tenantId}:
put:
...
responses:
200:
description: "OK"
schema: <-- keeping this here works for validation but not displaying the model
$ref: '#/responses/Tenant'
Given the following syntax from api.yaml, request validation works fine. However, the response model shows up as "string".
If I remove "shema" from the put responses object, then the api docs show the model correctly but then response validation fails. How can I achieve both?
The text was updated successfully, but these errors were encountered: