3 ms·
I didn't realize Swagger was meant to be an intermediate format.
by paulddraper 10y ago
I didn't realize Swagger was meant to be an intermediate format.
- emidln 10y agoIt's not an intermediate format necessarily, but it reflects information already encoded in your route definitions. It seems silly to maintain that information twice in two different locations.
- darrelmiller 10y agoHence the reason for tools like swagger-inflector http://swagger.io/writing-apis-with-the-swagger-inflector/ http://swagger.io/writing-apis-with-the-swagger-inflector/ that allows you to drive routing directly from the OpenAPI definition