Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: swagger v2 #591
Since NelmioApiDocBundle is not going to update to swagger v2, we will do it in api-platform.
This is WIP :
I have been doing that today, tested with SwaggerUI by changing the format of hydra / swagger
First of all, thanks for working on this @Simperfit. It's very much appreciated.
Unless JSON-LD, HAL or JSON API, Swagger is just an API documentation format. Not all resources exposed by the API will be available in the "Swagger". There will be only one new URL returning the Swagger doc.
Basically, you can keep your
When you'll write tests, you can use https://hub.docker.com/r/swaggerapi/swagger-validator/ to validate the generated Swagger file of the test app in Travis.