Hi All,
I am a new user in swagger. I want to know some basic steps, I google my requirement but didn't get a enough tutorial.
I have a PHP project which has many API response and I need to integrate with swagger. For that purpose,
> I have added swagger-ui in my work-space
I have replaced the URL as described in README.md,
window.swaggerUi = new SwaggerUi({
dom_id: "swagger-ui-container",
-----------------
----------------
But when i refresh ui (
http://localhost/swagger-ui/dist/),
this error message will happen -> " Can't read from server. It may
not have the appropriate access-control-origin settings. "
I know there are something more parameters should be defined, but I don't know where it is.
I have download a swagger php folder (swagger-php). Do I need to config anything here ?
Can you please help me to test even a single php api with swagger UI ?
Thanks