Category: nelmioapidocbundle

Is there a way to add a context for my methods (or exclude methods) in Swagger?

I have REST API, some methods are public, some methods are private. I want to generate two API docs, one for everybody and another one for private usage. I use https://github.com/nelmio/NelmioApiDocBundle which uses https://github.com/zircote/swagger-php which uses Swagger 2. A good…