Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Swagger file validation method #1075

Closed
bajiat opened this issue Jun 8, 2016 · 1 comment
Closed

Use Swagger file validation method #1075

bajiat opened this issue Jun 8, 2016 · 1 comment

Comments

@bajiat
Copy link
Contributor

bajiat commented Jun 8, 2016

Swagger file validation method and library was included in task #523. The method is not used to validate the files and it needs to be moved from backend to client.

This is an enhancement to Documentation Viewer. It is not urgently required for Documentation Viewer 1.0 since the Swagger UI is capable of validating the files.

Definition of done

  • Swagger files are validated after user has selected the file, but before adding the file to collection
  • If the Swagger file does not pass validation, an error is thrown to the user and the file is not added to collection
  • If the Swagger file passes validation, it is added to document collection
@philippeluickx
Copy link
Contributor

+1
This should be done in both scenarios: uploading a file or pointing to a file through URL.

@ghost ghost removed the icebox label Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants