Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behavior in case of / character in the tags section #55

Open
SergeyTsaplin opened this issue Oct 30, 2018 · 0 comments
Open

Comments

@SergeyTsaplin
Copy link

I use library version 1.0.5
When I put / to the tags section the method expanding doesn't work, for exapmple:

description: Returns current scale settings
tags:
- API/Scale settings
produces:
- application/json
responses:
    "200":
        description: successful operation.
    "405":
        description: invalid HTTP Method

When I click to the method in the web UI nothing happens and there are error message in the js-console:

http://localhost:8000/doc#!/API%2FScale_settings/head_api_configuration_scaling

Error: Syntax error, unrecognized expression: %2FScale_settings_head_api_configuration_scaling_content jquery-1.8.0.min.js:2:56628
	Z.error http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:56628
	bg http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:46474
	Z.compile http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:57617
	bm http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:58497
	bm http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:59823
	Z http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:50393
	find http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:60731
	init http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:10549
	p http://localhost:8000/doc/swagger_static/lib/jquery-1.8.0.min.js:2:9319
	shebang client.js:693
	shebang self-hosted:972:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant