-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
[v3] Page will not load after importing invalid spec #7
Comments
MikeRalphson
added a commit
that referenced
this issue
Jun 13, 2017
@tulir Thanks for the bug report! Have added to the pre-processing of the definition a check that the info object and mandatory properties are defined. Seems to fix the problem for me, but if you get a chance to retest? |
MikeRalphson
added a commit
that referenced
this issue
Jun 13, 2017
Removing the |
MikeRalphson
added a commit
that referenced
this issue
Jun 13, 2017
Detection of missing servers array now fixed. |
Seems to work now, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I removed the
info
section in the import box and imported the spec. The import was successful (according to the popup modal), but when I reloaded the page it just turned blank and the console contained errors. Also, the console hadTypeError: openapi.info is undefined
right after importing.Steps to reproduce:
info
and/orservers
section from the JSON box in theUpload
tabLoad Definition
The problem seems to be that the uploaded definitions aren't properly validated and/or fixed.
The text was updated successfully, but these errors were encountered: