2

Where does swagger_yard place the JSON file it generates?

It doesn't say so in the README, https://github.com/livingsocial/swagger_yard

I'm trying to point swagger-ui_rails to that JSON file.

Magne
  • 16,401
  • 10
  • 68
  • 88

1 Answers1

2

I found my JSON in following https://myapibaseurl.com/swagger/swagger and pointing from the ui to this route was a success for me :).

You can check it by searching swagger in the output of rails routes console command to make sure where to look !

lucyjosef
  • 712
  • 1
  • 8
  • 24
  • It's been a while since I had this question, and I have no way of verifying if this answer works for me, but I'll presume it does and mark it as the correct answer. :) – Magne Apr 05 '19 at 12:37
  • I saw the date after answering it yes, hope it'll help any other lost souls :) Thanks @Magne ! – lucyjosef Apr 05 '19 at 12:39