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
Swagger UI does not submit HTTP request to API server #343
Comments
I suspect this is an outcome of point 9 from #337 (comment). That is, a pydantic field specification like |
I will first try to use the |
At least for some endpoints (all that I've tried so far), Swagger UI is not submitting the HTTP request to the API server. Instead, an error about data validation is appearing in the JS console. Here's a screenshot showing the error.
Background:
nmdc-runtime
was updated earlier today to use a version of FastAPI that works around yesterday's Swagger UI issue. As a result, that Swagger UI problem stopped affecting us and we were able to access previously-inaccessible sections of the Swagger UI. The web page isn't hanging anymore.nmdc-runtime
update seems to have introduced this new issue (see introductory paragraph above) affecting Swagger UI usage.More details are on Slack, at: https://nmdc-group.slack.com/archives/C05EFGHCYRH/p1698791445508619
The text was updated successfully, but these errors were encountered: