-
|
Hey there, I'm facing some problem with ability of /swagger to open other json, like this
I dont know how exactly should I search this problem but I've looked this repo issues and swagger-ui repo issues and didnt find any similar to this. I've checked my other service, written on .NET and there is no such ability to pass third-side jsons to that. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
If you need Swagger to take other OpenAPIs then you should probably deploy it independently of FastAPI, the one included in FastAPI is not designed to take a URL with an external OpenAPI to display instead of its own (I'm not sure if it works, but it would be a bit out of scope).
|
Beta Was this translation helpful? Give feedback.
-
|
Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs. |
Beta Was this translation helpful? Give feedback.
If you need Swagger to take other OpenAPIs then you should probably deploy it independently of FastAPI, the one included in FastAPI is not designed to take a URL with an external OpenAPI to display instead of its own (I'm not sure if it works, but it would be a bit out of scope).