node-restful icon indicating copy to clipboard operation
node-restful copied to clipboard

Swagger document integration?

Open sinogermany opened this issue 8 years ago • 1 comments

Hi Baugarten,

Is it possible to have swagger endpoints in place for the API endpoints?

It would be nice, as a start at least, to have a default swagger documentation, would be even nicer if we could customize the documentation later on.

Any comments or thoughts?

Cheers,

Daniel

sinogermany avatar Feb 21 '16 05:02 sinogermany

If you want to generate a restful API from your Swagger file then you're better off using something that's built specifically for it like this.

If you're looking for the inverse where this could generate a Swagger file from your current endpoint then really that's out of scope for this project and with the amount of different rules Swagger has it's just not feasible for this to add support for it.

If this answers your question can you please close this issue.

OmgImAlexis avatar Jan 29 '17 05:01 OmgImAlexis