-
Notifications
You must be signed in to change notification settings - Fork 10
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
Schema details page: embed Swagger-UI #118
Comments
We're encountering an issue with CORS: the Swagger-UI component is meant to retrieve the yaml or json specification content from a different server than the one which served the original Javascript.
|
CC: @bfabio @berez23 for security considerations and solutions related to node/js.
2a. Currently developers.italia.it/it/api uses swagger-ui, where files are only processed on browsers and not on servers.
|
Please @spuliz @ioggstream , can you review the linked page and, once the security questions have been answered, this issue can be closed. |
fixed. See #127 for further improvements. |
Expected behaviour
In the Schema details page, we'd like to see the content rendered in a dedicated swagger-ui section. The OAS3 specification to be rendered comes from the downloadUrl of the distribution associated with the Schema.
Current behaviour
No swagger-ui component is embedded. This is an enhancement.
Proposed solution
distribution
, which is a list (!!!) of strings. They represent theaccessUrl
of thedistribution
. ThedownloadUrl
might be exposed as per Index and expose downloadUrl for distribution of schemas. dati-semantic-backend#34.Context
For who has access to the "NDC_mvp" Zeplin project, this is the link to the mock-up.
The text was updated successfully, but these errors were encountered: