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

Add output swagger json and yaml #60

Closed
pei0804 opened this issue Mar 4, 2018 · 0 comments · Fixed by #61
Closed

Add output swagger json and yaml #60

pei0804 opened this issue Mar 4, 2018 · 0 comments · Fixed by #61
Labels
Milestone

Comments

@pei0804
Copy link
Member

pei0804 commented Mar 4, 2018

Add Cli option

for example

swag --swagger ./swagger --dir ./ --generalInfo main.go
  • swagger
    Output the swagger conf for json and yaml

  • dir
    Directory you want to parse

  • generalInfo
    Go file path in which 'swagger general API Info' is written

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

Successfully merging a pull request may close this issue.

2 participants