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.

OpenAPI - Setting swagger-jaxrs2 Base Path in TomEE 7.1.0 (CXF)

See original GitHub issue

I’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:open
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

0reactions
Kiolalicommented, May 16, 2019

@valasatava Could you please paste your code here, how you configured the base path using ServletConfig? Thanks in advance!

Read more comments on GitHub >

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

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