On Sun, Nov 10, 2024 at 07:05:33AM -0500, apache-karaf-user.pyr3x.com via user 
wrote:
> On Tue, Nov 05, 2024 at 12:07:50PM -0500, apache-karaf-user.pyr3x.com via 
> user wrote:
> > Hello,
> > 
> > I'm running Karaf and have installed the the following features:
> > 
> > 'aries-jax-rs-whiteboard-whiteboard'
> > 'aries-jax-rs-whiteboard-openapi'
> > 
> > I have a class with the following annotations:
> > 
> > @Component(
> >     service = {Blah.class, OpenAPI.class},
> >     immediate = true,
> >     configurationPolicy = ConfigurationPolicy.OPTIONAL)
> > @OpenAPIDefinition(info =
> >     @Info(
> >       title = "${project.name}",
> >       version = "${project.version}"
> >     )
> > )
> > @Path("coolapp")
> > @JaxrsResource
> > @Consumes(MediaType.APPLICATION_JSON)
> > @Produces(MediaType.APPLICATION_JSON)
> > @JSONRequired
> > @Designate(ocd = Configuration.class)
> > @Slf4j
> > public class Blah extends OpenAPI {
> > 
> > 
> > I can access the openapi.yaml at http://localhost:8181/openapi.yaml
> > 
> > How do I make use of the swagger-ui to test my endpoints?
> > 
> > I've tried to install the feature to add it:
> > 
> > 'feature:info cxf-rs-description-openapi-v3'
> > 
> > But can't seem to find the endpoint where it's running (if it is)
> > 
> > Any help would be appreciated!
> > 
> > -- 
> > Chaz
> 
> ping
> 
> -- 
> Chaz

ping :(

-- 
Chaz

Reply via email to