Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatibility with swagger-jsdoc #4

Open
damianobarbati opened this issue Feb 18, 2021 · 1 comment
Open

compatibility with swagger-jsdoc #4

damianobarbati opened this issue Feb 18, 2021 · 1 comment

Comments

@damianobarbati
Copy link

Nice work!
Is this attempting to be a drop-in replacement for swagger-jsdoc v6 after they removed the cli?

Old command:

swagger-jsdoc -d openapi.yml -o docs/openapi.json src/*.js src/**/*.js

New command:

swagger-jsdoc-generator openapi.yml -o docs/openapi.json src/*.js src/**/*.js

Results in several syntax error, maybe only json is supported?

openapi: 3.0.3
            ^^

SyntaxError: Unexpected number
@lmammino
Copy link
Owner

Hello @damianobarbati! Thanks a lot for submitting this issue.

I haven't actively maintaining this project for a while now. Would you have some time to contribute to it? Maybe propose a PR to fix this specific issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants