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
I have a swagger project which uses swagger-express-mw 0.1.0. The path definitions for swagger.yaml file has been externalized into another file. When I start the project using swagger project start, everything works fine.
I tried upgrading to swagger-express-mw version to 0.6.0 and the error just pops out while starting project.
Error in callback! Tossing to global error handler. Error: Swagger validation errors:
Is there any bug fixes applied recently which has caused schema resolution to fail? Please help.
The text was updated successfully, but these errors were encountered:
Thanks Scott, for your quick response. I tried updating the default.yaml file with the swagger_params_parser, but it didn't work. I am still getting the schema validation error while starting project using swagger project start. The surprising factor is swagger project verify, indicates that there are 0 errors.
Here are some more details about the directory structure for swagger configuration
The swagger.yaml file has following code to refer visitorSearchUsingMobile.yaml
Note that, I tried changing the path definition to relative as well like ./paths/visitorSearchUsingMobile.yaml but that didn't work too. Also making it relative fails with swagger project verify command. Relative references from swagger.yaml file are failing, and hence I have to specify complete path from root directory of the project (this is another problem, I am seeing from 0.1.0). Relative references are only working with files other than swagger.yaml
I have a swagger project which uses
swagger-express-mw
0.1.0. The path definitions for swagger.yaml file has been externalized into another file. When I start the project usingswagger project start
, everything works fine.I tried upgrading to
swagger-express-mw
version to 0.6.0 and the error just pops out while starting project.Is there any bug fixes applied recently which has caused schema resolution to fail? Please help.
The text was updated successfully, but these errors were encountered: