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

Actions 2 documentation not generating #68

Closed twustep closed 4 years ago

twustep commented 4 years ago

Hello,

First, thanks for this great/handy project.

Ran into an issue. It seems Action 2 documentation is not being generated. I've used the same subdir/actions2.js file as you have in this repo and created a route on my config/routes.js

'get /actions2': 'subdir/actions2'

Screen Shot 2020-05-16 at 10 32 02 PM

However, the generated json in swagger.json still has default values.

Screen Shot 2020-05-16 at 10 34 18 PM

Thanks, any help would be appreciated.

theoomoregbee commented 4 years ago

:tada: This issue has been resolved in version 3.0.3 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

twustep commented 4 years ago

Thanks @theoomoregbee, tested and it works great.