yahehe / Nancy.Swagger

Nancy plugin for generated API documentation in Swagger format.
MIT License
133 stars 60 forks source link

Removes Parameter types from generated swagger path. #166 #168

Closed jnallard closed 5 years ago

jnallard commented 5 years ago

166

This will remove the path parameter type from the swagger, as it will not work. For example, "/service/customers/{name:guid}" becomes "/service/customers/{name}"

Also added CORS stuff, because the examples weren't working for POSTs. And boy, the Endpoints I created two years ago aren't very RESTFUL. :P

yahehe commented 5 years ago

Looks good, thanks!

yahehe commented 5 years ago

Gah, @jnallard my API key is out of date again, I'll fix that later today