Swagger Javascript error for dynamic api
See original GitHub issueabp version 1.1.1 used to work fine till version 1.0.0
in swagger ui index: Uncaught Error: Syntax error, unrecognized expression: %2Fuser_app_user_GetUsers_content(…) causes swagger ui unable to expand on click
The issue seems to be limited only on dynamic api. Web Api methods are fine
Edited:
Actually the issue is on this:
Configuration.Modules.AbpWebApi().DynamicApiControllerBuilder
.For<ICommentsAppService>("Comments/Manage").Build();
the forward slash is translated as %2F in swagger html code
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Open API Swagger UI causes JavaScript error and doesn't ...
I just noticed that the SwaggerFeature is marked as obsolete so I'm trying out the OpenApiFeature but nothing is showing when I open...
Read more >Swagger Version Error - node.js
This message simply means that the server you're connecting to is based on the Swagger 1.2 specification or earlier. Swagger is now at...
Read more >Make your Swagger configuration files dynamic using Node.js
So, what's the problem? After wrapping up work on a Swagger configuration file, and successfully generating a client JavaScript library to consume the...
Read more >Make your Swagger config files dynamic using Node.js
Adrian. #nodejs # swagger # api # rest #microservices #oprearocks. ... Make your Swagger config files dynamic using Node. js.
Read more >Documenting a Node.js REST API using Swagger
Swagger is a software tool used for designing, building, documenting, and using RESTful APIs. It follows the OpenAPI specification.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you @yuzukwok, I made it by default in ABP: https://github.com/aspnetboilerplate/aspnetboilerplate/commit/45bbc344f8c8524e04e0b95b1baaeda73e964b87#diff-593ed59eedb80de39c1a8b51e0a45879R69 So, it will not be a problem for next releases.
Thank you @yuzukwok I’ll try this.