richhollis / swagger-docs

Generates swagger-ui json files for Rails APIs with a simple DSL.
MIT License
750 stars 150 forks source link

Fixes missing slashes in RequestUrl #118

Closed pranavpr closed 8 years ago

pranavpr commented 9 years ago

Fixes issue #117

perldork commented 9 years ago

I like this change too, i think we should make it conditional as a config parameter - it definitely causes the "Try it out!" button to break in FIrefox with an NS_ERROR_MALFORMED_URL error - I wonder what the assumption is for configuration because I'd think this would break for everyone.

I'm prepared to do a patch for that but i think you and I might be not understanding something since it's not a problem everyone runs into ..

matsubo commented 8 years ago

+1 master branch did not work for me. @pranavpr 's fix worked for me.

richhollis commented 8 years ago

Closing as this has been addressed in another commit.