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
[swagger] Import file validation failed SyntaxError: Swagger schema validation failed.
Data does not match any schemas from 'oneOf' at #/paths//zip/batch/user-upload/post/parameters/0
Data does not match any schemas from 'oneOf' at #/paths//zip/batch/user-upload/post/parameters/0
Missing required property: schema at #/
Data does not match any schemas from 'oneOf' at #/
No enum match for: multi at #/collectionFormat
No enum match for: file at #/items/type
No enum match for: file at #/items/type
No enum match for: multi at #/collectionFormat
Missing required property: $ref at #/paths//zip/batch/user-upload/post/parameters/0
JSON_OBJECT_VALIDATION_FAILED
at validateSchema (file:///opt/Insomnia/resources/app.asar/bundle.js:115603:15)
at file:///opt/Insomnia/resources/app.asar/bundle.js:115537:9
z-schema validation error: JSON_OBJECT_VALIDATION_FAILED
at ZSchema.module.exports.ZSchema.getLastError (file:///opt/Insomnia/resources/app.asar/bundle.js:239262:13)
at validateSchema (file:///opt/Insomnia/resources/app.asar/bundle.js:115601:23)
at file:///opt/Insomnia/resources/app.asar/bundle.js:115537:9
👋 Thanks for opening your first issue! If you're reporting a 🐞 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 🎁, please provide real
use cases that would benefit. 👪
To help make this a smooth process, please be sure you have first read the contributing guidelines.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Details
DevTools exception log:
Parameter description:
As far as I know,
schema
property isn't required by OpenAPI 2.0 for primitive types an arrays of primitives and only used within: body
.Wasn't sure which lib you use for parsing swagger config, so reporting it here.
The text was updated successfully, but these errors were encountered: