swagger-jsdoc icon indicating copy to clipboard operation
swagger-jsdoc copied to clipboard

Option to parse multiline comments not preceeded by " * ".

Open pate313373 opened this issue 3 years ago • 3 comments

Hi,

I really like your project, it's just awesome! However, I'd love to use TAB and SHIFT+TAB to change the indent of a swagger line. However, the problem is that SHIFT+TAB changes to the start of the line from " *" to "*" causing swagger-jsdoc to fail.

I'd love to see an option to accept comments like this:

/**
@openapi
/http/subroute/wherever:
  post:
    description: just an example
*/

Kind regards

pate313373 avatar Mar 23 '21 09:03 pate313373

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 22 '21 09:05 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '21 19:07 stale[bot]

I had a question if this was supported before i tried it. I think this is important for managing and validating the yml with simple copy paste. This also needs a sister project that validates the swagger format with an eslint plugin.

brandonmpetty avatar Aug 22 '21 18:08 brandonmpetty