Closed sify21 closed 3 years ago
Is this a problem only related to the dockerized app? Will it display the correct content when run on bare metal? I dont have node env so I cant verify.
Yes, I've just tested it locally and it works serving the given OpenAPI document.
I found the problem. I need to add this parameter ?url=%2fserve
to display the content of my document.
Maybe this can be clarified in the README.md. Currently it's a bit vague about what the value of parameter url
should be.
Thanks - will add an example in the README as you suggest.
README.md
updated.
I started the docker image with
in container, I can see processes
However, when I go to browser and clear cache and visit main page, it still displays petstore. And if I hit the save button, the content of /data/oai.yaml will change to petstore. It seems that
-w
option is working