question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swagger Javascript error for dynamic api

See original GitHub issue

abp 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:closed
  • Created 7 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
hikalkancommented, Dec 23, 2016
0reactions
hikalkancommented, Dec 18, 2016

Thank you @yuzukwok I’ll try this.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found