42Crunch / intellij-openapi-editor

OpenAPI (Swagger) Editor plugin for IntelliJ
9 stars 0 forks source link

Add swagger-jsdoc #29

Open TheJeterLP opened 1 year ago

TheJeterLP commented 1 year ago

Hello, is it possible for you to add support for swagger-jsdoc? So using openapi specification directly in the jsdoc?

ak1394 commented 1 year ago

Adding support for swagger-jsdoc would require quite a bit of effort, as it's quite a departure from standard yaml/json file syntax we support. I don't think we can add it in the near future.

TheJeterLP commented 1 year ago

Adding support for swagger-jsdoc would require quite a bit of effort, as it's quite a departure from standard yaml/json file syntax we support. I don't think we can add it in the near future.

Swagger jsdoc is actually yaml syntax. Only the * at the start of the line needs to be removed and then it can be parsed as yaml