ezimuel / zend-expressive-api

Web API skeleton using zend-expressive
59 stars 30 forks source link

Add example with swagger #19

Open starkskalle opened 5 years ago

starkskalle commented 5 years ago

Hi,

would it be possible to add Swagger/OpenAPI to this example?

I am a bit lost how to configure Swagger/OpenAPI to work correctly with OAuth2. Through there are many examples on the web none of them seems to be working. The response code is always 401, it even seems that the header does not contain the Authorization value.

Adding an example of such a configuration would probably help lot of people as the Swagger/OpenAPI is kind of a industry standard. What do you think?

Thanks