-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add swagger.io provider to microservices to document our web services #205
Comments
See also #120 |
Based on the fact that the silex-swagger-provider is not supporting Swagger 2 I think we should look at implementing zircote/swagger-php instead. |
@whikloj should we be concerned with any of the rationale provided there why the silex-swagger-provider is not supporting Swagger 2? |
I'm not sure I fully understood his rationale at first so I played with his code and was able to get it working with Swagger 2. However this lead to a larger problem which is that at present OpenAPI/Swagger does not support content-negotiation for parameter definition. What this means is that we can't define that a POST to Soooooooooo... going back I read the articles and had a look at the JSON Schema documentation. Its interesting just not sure if we have the time to generate all the JSON schemas? |
...inteeeeeeeeeeeeeeeeeeeeeeeeresting. |
Yes, so that ticket with OpenAPI seems to indicate that this should be coming in the next version. Question is when will that be? |
Using swagger.io allows us to build API documentation with code annotations. Swagger is part of OpenAPI which continues our adoption of good standards.
For Silex we can use the silex-swagger-provider to automatically publish API documentation.
The text was updated successfully, but these errors were encountered: