buildingSMART / OpenCDE-API

57 stars 9 forks source link

Swagger file has validation errors #3

Closed bigdoods closed 4 years ago

bigdoods commented 5 years ago

SUMMARY Swagger file has parse errors

ISSUE TYPE Bug Report

STEPS TO REPRODUCE Running the openapi.yaml file through Swagger validation (online, use https://editor.swagger.io/) fails with the following errors:

Initially, it could not render the file because of an invalid version field. This can be fixed by changing line 1 to openapi: "3.0.0"

Further Errors: Line 4 Structural error at info.version should be string Line 24 Structural error at paths./cde/0.1/documents/select-documents.get.parameters.0.schema.oneOf.0 should be object Line 25: Structural error at paths./cde/0.1/documents/select-documents.get.parameters.0.schema.oneOf.1 should be object

bigdoods commented 4 years ago

Fixed