Fork me on GitHub
#ring-swagger
<
2016-09-15
>
katox13:09:56

@ikitommi the culprit seems to be that swagger.json is not loaded for some reason

juhoteperi13:09:44

can you open it on the browser?

juhoteperi13:09:23

you might need to manually set swagger.json url for UI, depending on what options you use

katox14:09:38

I can see the button in the kikka7 sample, I'll try to find out what's going on. The definition by itself is the same.

ikitommi14:09:41

if the swagger.json doesn't load, there could be issues in generating the actual spec. There might be schemas which can't be mapped to JSON Schema. You should get "nice" error messages to console/log

katox15:09:16

I found the problem in auth middleware. It caught swagger definition files not just the /api context defined (unrelated changes). The values supplied for the swagger definition works great! Thanks @ikitommi @juhoteperi