twskj / pretty-swag

Pretty UI for Swagger spec
MIT License
122 stars 20 forks source link

-noReq doesn't do anything... I think. #31

Closed craigmonson closed 7 years ago

craigmonson commented 7 years ago

v 0.1.102

I'm under the assumption that the -noReq true flag will remove the Request section under the endpoint that requires CORS to be enabled. I'm hoping to just skip over that section since we just want our endpoint documented nicely and simply created.

Here's the command I'm using:

pretty-swag -collapseMethod true -i swagger.yaml -o index.html -th blue-grey -noReq true

Thanks!

twskj commented 7 years ago

Let me check

twskj commented 7 years ago

Rolled out. Can you verify please

craigmonson commented 7 years ago

That totally fixed it. Well done. Thanks for the quick reply and quick fix.

This guy right here codes like a baws!!!!!