codegen question: Is Sinatra server generator up-to-date?

28 views
Skip to first unread message

Tao Chen

unread,
Nov 24, 2015, 3:12:27 AM11/24/15
to Swagger
I tried the Sinatra server generated by codegen. The server can be launched without problem, but there seems to be no api available.
http://localhost:4567/resources.json always has empty api: {apis:[]}
I even tried the petstore Sinatra example in the master branch. Same empty apis.

I also noticed swaggering.rb in Sinatra/lib still have swagger version = 1.1
Thanks,

wing328

unread,
Nov 28, 2015, 5:04:55 AM11/28/15
to Swagger
Please open a ticket via https://github.com/swagger-api/swagger-codegen/issues.

William

Tao Chen於 2015年11月24日星期二 UTC+8下午4時12分27秒寫道:

wing328

unread,
Dec 13, 2015, 4:49:58 AM12/13/15
to Swagger
FYI. I've submitted https://github.com/swagger-api/swagger-codegen/pull/1714 to fix the issue.

wing328於 2015年11月28日星期六 UTC+8下午6時04分55秒寫道:

wing328

unread,
Dec 14, 2015, 10:19:43 PM12/14/15
to Swagger
PR merged into master. Please pull the latest master and give it a try.

wing328於 2015年12月13日星期日 UTC+8下午5時49分58秒寫道:
Reply all
Reply to author
Forward
0 new messages