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 definitions failing

See original GitHub issue

After the merge of commit e14d18e, swagger rest API definitions begin to fail. I’m reporting it, but if I can I will try to take a look onto that later

image

Steps to reproduce:

cd <apiman_root>
mvn clean
mvn clean install -Pinstall-all-wildfly10
./tools/server-all/target/wildfly-10.1.0.Final/bin/standalone.sh -b 0.0.0.0

Open the browser and navigate to http://localhost:8080/apimanui and click on menu entry ‘REST API’ on profile menu.

Edit: Works like a charm on tomcat T_T

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tevosouzacommented, Mar 13, 2020

@volkflo I’ve added this to pom.xml of apiman-manager-api-war-wildfly8 and error is gone, but still not generating rest documentation.

    <dependency>
      <groupId>io.swagger</groupId>
      <artifactId>swagger-jaxrs</artifactId>
      <exclusions>
        <exclusion>
          <groupId>javax.ws.rs</groupId>
          <artifactId>jsr311-api</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

After the explanation of @EricWittmann i believe that the problem is on the configuration of project but let’s dig into it!

0reactions
EricWittmanncommented, Mar 16, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Swashbuckle/Swagger + ASP.Net Core: "Failed to load API ...
When I started the app with this method, the following message showed up: Failed to load API definition. Errors Fetch error Internal Server...
Read more >
WebApi Core / Swagger: "failed to load API definition" error
Unfortunately, in this case, I went to my swagger URL and got an error saying “Failed to load API definition — Fetch error...
Read more >
Failed to load Swagger API definition for a Newly Published ...
I just pushed a .NET Core 6.0 WebAPI to Azure AppService. When I access the location I receive the following error issued when...
Read more >
Failed to load API definition Fetch error in Swagger - YouTube
This video is about how to fix the Api Definition fetch error in asp.net core entity framework webapi using swagger.
Read more >
Failed to load API definition Fetch error in Swagger - YouTube
This video is about how to fix the Api Definition fetch error in asp.net core webapi using swagger.
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