grape-swagger icon indicating copy to clipboard operation
grape-swagger copied to clipboard

Expose nested namespace as standalone route does not work in swagger ui 2.1.4 and grape-swagger 0.20

Open stefan-kolb opened this issue 8 years ago • 7 comments

See documentation at https://github.com/ruby-grape/grape-swagger#expose-nested-namespace-as-standalone-route.

Functionality was added by #220.

The original code snippet is still enabled and the documentation also describes this feature, but all the tests were not migrated to version 0.20.

stefan-kolb avatar May 09 '16 12:05 stefan-kolb

@stefan-kolb as I understand it right, the nickname key has to be re-added, right?

LeFnord avatar May 17 '16 17:05 LeFnord

I don't really know what is needed to reenable/fix this functionality as I didn't write it before. But I cannot see any nickname key inside this functionality or code, so I'm not sure if this is related or the cause for this issue.

stefan-kolb avatar May 17 '16 17:05 stefan-kolb

@stefan-kolb … I see it here #220/files and this has nothings to do with the nickname … but I think your referenced issue could be solved be re-adding it

LeFnord avatar May 17 '16 17:05 LeFnord

You should probably re-add the tests api_with_standalone_namespace_spec.rb, so you can debug whats going wrong here. As far as I know the tests were removed between the transition from 0.11 to 0.20.

stefan-kolb avatar May 17 '16 18:05 stefan-kolb

Hi, any update on this? It is not working for us.

zheileman avatar Aug 25 '16 07:08 zheileman

This is causing major pain for us as well

suan avatar Feb 14 '17 17:02 suan

feel free to make a PR to fix it

LeFnord avatar Feb 14 '17 19:02 LeFnord