Showing results for 
Search instead for 
Did you mean: 
Welcome to the September Hub-bub

We are inviting you to join our exciting online event where you can learn a lot of useful information, share your knowledge and have fun. Each week, we will reward the best posters with free gift cards .

Just pick any topic you like in the SwaggerHub Community, or create your own to dive into the wonderful September Hub-bub.

Event duration: September 2-27. More information.

This Week Top Contributors:

We will decide the winners next Monday

Generated inflector-server doesn't work

Occasional Visitor

Generated inflector-server doesn't work

I created an Openapi 3.0 script (attached). I also generated the java-client (attached) and inflector-server(attached) code. 

I uncomment the genearted code in the io.swagger.controllers.IngestController and io.swagger.controllers.AllActiveNotamIDController classes. I also changed the status from "Status.INTERNAL_SERVER_ERROR" to "Status.OK". 

I built the swagger-inflector-server-1.0.0.war and deployed it to Tomcat 8.5.32.

Within the generated swagger-java-client code, I changed the ApiClient::basePath to the right value.

I use the geneated test class within the swagger-java-client  package to send a http request. By debugging the inflector-server code, I can tell the request had arrived the inflector-server and then I see the inflector-server reported a HTTP 404 response to the client.


Could someone tell me what I did wrong?


I really appreciate any hep ahead.



New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win