I have deployed my Symfony 5 app on live server (production). I left my .env file with DEV variables. Firstly my my homepage index.php was showing 404 URL not found on the server, so I had to execute ln -s public_src public and since that my homepage was showing fine. However I required and implemented a Nelm…
Tag: swagger
Swagger: swagger.json interface
i tried to work with marketplace. They said that “Working with the API consists of sending a request and receiving a response. To do this, you can use the console to the right of the method descriptions, the Swagger interface” Also, the link of “Swagger interface” => https://api-sel…
How to generate a GET request Swagger API Doc in Laravel 5.8 API?
I’m using L5-Swagger framework to generate an API Doc for my Laravel 5.8 project. Here is the code I have created so far: This is an endpoint with limit and offset. I added limit as a parameter here just to check. But it is not generating. Only the endpoint with path is available in the Swagger UI. Plea…
Is it possible to load Swagger annotations from a different class or file?
I have the following simple PHP method like the following and I need to include long Swagger documentation into the annotation above the method, so is it possible to write the annotation in a different class ? and call it here with something like The main purpose is to have a clean class without so many lines…
Swagger basic authentication fails with php client
When I try to use the generated php client from a yaml file it doesn’t seem to work. I get a authentication error even though I had filled in the configuration for the authentication. But when I …