Open CyrilleBenard opened 5 years ago
I have forked the project and implemented this. See my fork and the respecting docker image at docker hub
I still have a problem with references within component defintions. If such a reference is present the browser will load the referenced file over and over again.
Content & configuration
Swagger/OpenAPI definition:
Not the full YAML file but an extract to identify what's the purpose of this improvement I think that would be nice
Is your feature request related to a problem?
The current docker image already downloadable allows the user to specify its own JSON / YAML file as soon as the container ran, thanks to the below CLI :
But in case the current YAML file (openapi.yaml) uses an external file reference (see _$ref: './TS29571CommonData.yaml#/components/responses/403' above), Swagger-UI will not be able to handle it.
Describe the solution you'd like
In the docker-run.sh file I would have replaced the link to the JSON file by a link on each file in its current directory :