Re:Problems with Swagger
by paulddraper on Tuesday April 04, 2017 @04:45PM
(#14037029)
I didn't realize Swagger was meant to be an intermediate format.
[ Parent
| on HN ]
It'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.
Re:Problems with Swagger
by darrelmiller on Wednesday April 05, 2017 @01:07AM
(#14039816)
Hence the reason for tools like swagger-inflector http://swagger.io/writing-apis-with-the-swagger-inflector/ that allows you to drive routing directly from the OpenAPI definition