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
Every GET request in openAPI 3 is being validated for its requestBody. therefore the validator fails when trying to validate the requestBody of a get request which is undefined.\
line failing: const bodySchemaV3 = dereferenced.paths[currentPath][currentMethod].requestBody.content['application/json'].schema;
The text was updated successfully, but these errors were encountered:
omer182
changed the title
BUG] - OpenAPI 3.0 - fix mandatory validation for get body
[BUG] - OpenAPI 3.0 - fix mandatory validation for get body
Feb 18, 2019
Every GET request in openAPI 3 is being validated for its requestBody. therefore the validator fails when trying to validate the requestBody of a get request which is undefined.\
line failing:
const bodySchemaV3 = dereferenced.paths[currentPath][currentMethod].requestBody.content['application/json'].schema;
The text was updated successfully, but these errors were encountered: