Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

BasePath not added to swagger.json in java-resteasy sample #9

Closed
webron opened this issue Jul 14, 2015 · 3 comments
Closed

BasePath not added to swagger.json in java-resteasy sample #9

webron opened this issue Jul 14, 2015 · 3 comments

Comments

@webron
Copy link
Contributor

webron commented Jul 14, 2015

From @Isnogud77 on June 23, 2015 8:21

I've created a REST Api running on JBoss EAP 6 with RESTEasy which is based on the java-resteasy sample. I noticed in my application that basePath isn't added to the swagger.json even though I've declared that in the Bootstrap class. All other information seem to be added correctly.

I then tried to reproduce the issue by running the sample and it's exactly the same behaviour. The basePath is missing there as well. So, this sample could be used to debug/reproduce the issue.

This leads to the situation that I can examine the API in the UI but can't execute interactive requests.

Copied from original issue: swagger-api/swagger-core#1194

@webron
Copy link
Contributor Author

webron commented Jul 14, 2015

Thanks for reporting, @Isnogud77, there's indeed a problem with the sample. The problem arises from a conflict in configuration.

@Isnogud77
Copy link

@webron I don't see a fix in the sample. Could you please explain what needs to be changed in order to get this working?

@webron
Copy link
Contributor Author

webron commented Jul 15, 2015

The issue is not closed, so.. you don't see the fix. If you're looking to integrate with RESTEasy, I'd suggest just following the integration guide.

@webron webron closed this as completed in 630616a Sep 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants