theoomoregbee / sails-hook-swagger-generator

A tool to help generate Swagger specification documentation based on OAS 3.0 for Sails APIs
MIT License
78 stars 33 forks source link

Does this hook support action2 in sails v1.0? #18

Closed jinqiupeter closed 4 years ago

jinqiupeter commented 6 years ago

It would be nice if we can extract information from the machine-as-action definition. what do you think @theo4u ?

theoomoregbee commented 6 years ago

Yap nice, auto-generate the swagger information from it, I have been waiting for a way to do it, machine-as-action would do well now since the information about the function is within the action

Was thinking of a way to parse JSDoc #4 which was kinda a rabbit hole.

theoomoregbee commented 6 years ago

Are you giving it a try @jinqiupeter ?

jinqiupeter commented 6 years ago

@theo4u Not yet, I just wanted to check with you if it's currently supported, or if not supported it's still possible to add support for action2; but I can definitely try do that and submit PR!

theoomoregbee commented 6 years ago

ok cool, expecting the PR, will go over this, this weekend

marcoreni commented 6 years ago

Hello @jinqiupeter , any update about this implementation?

theoomoregbee commented 6 years ago

@marcoreni will add this to the roadmap for the next major release

theoomoregbee commented 4 years ago

yeah it does now, merged in #58