OpenAPI - Setting swagger-jaxrs2 Base Path in TomEE 7.1.0 (CXF)
See original GitHub issueI’m in the process of migrating from Swagger Core 1.5.X
to 2.X
, and I’m struggling to find where to modify the Base Path of my API (possibly multiple base path solution would be nice as well).
Earlier, I was using io.swagger.jaxrs.config.DefaultJaxrsConfig
in my web.xml
, but this doesn’t seem to be available now. I’ve been scanning the Wiki for quite some time before finally falling back to asking here. The problem with the Wiki is that it’s missing any CXF configurations. 😅
If anyone can direct me to where I can configure this (either web.xml
or any other options), I would greatly appreciate it. Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
OpenApiFeature - Apache CXF
The CXF OpenApiFeature allows you to generate OpenAPI v3.0 documents from JAX-RS service endpoints with a simple configuration.
Read more >Set basePath in Swagger 2.x with swagger-jaxrs2 and ...
Swagger is configured using the auto configuration from swagger-jaxrs2 and an openapi-configuration.yaml file. I can open swagger-ui and browse ...
Read more >JavaEE and Swagger: TomEE example
Let's see how to set it up in a EE server – TomEE for us. ... swagger basepath can be a full URL...
Read more >Plume | Explorations relative to cloning FlumeJava - kandi
setClassLoaderProperty Unable to set the web application class loader property ... runWorker(ThreadPoolExecutor.java:1128) java.base/java.util.concurrent.
Read more >api-docs json URL (swagger.api.basepath) is always ...
I m trying to setup swagger to work with my implementation using annotations. I using CXF ( non-spring version) and jackson as a...
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
@padmakaraa, I followed this one: https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Integration-and-configuration#jax-rs-application
@valasatava Could you please paste your code here, how you configured the base path using
ServletConfig
? Thanks in advance!