swagger-codegen default_api.py has wrong name

9 views
Skip to first unread message

John Hogenmiller

unread,
Mar 23, 2017, 12:14:09 AM3/23/17
to Swagger
I have macOS sierra and swagger-codegen installed via homebrew.  Version 2.2.2

I didn't know if I should report this here or on github issues. Since I'm exceedingly new to swagger, I'll start with assuming it's on my end.

When I run swagger-codegen, it does not generate swagger_client/api/default.api.py.  Instead, it generates swagger_client/api/_api.py


The exact command I run is:

swagger-codegen generate -l python -o testproject -i http://localhost:8000/api/v1/docs.json


Thank you,
John

wing328

unread,
Apr 3, 2017, 1:34:46 AM4/3/17
to Swagger
Looks like `tags` is set to empty string.

I would suggest you to start a discussion via https://github.com/swagger-api/swagger-codegen/issues/new so that the swagger codegen community can help you out.

John Hogenmiller於 2017年3月23日星期四 UTC+8下午12時14分09秒寫道:
Reply all
Reply to author
Forward
0 new messages