Okay I got my code to compile and run with Swagger2Feature, but I don't see
any swagger files being generated.  Where are they supposed to be generated
at?  Does Swagger2Feature log any status?

<!-- CXF Swagger2Feature -->
<bean id="swagger2FeatureWebServices"
class="org.apache.cxf.jaxrs.swagger.Swagger2Feature">
   <property name="basePath" value="/api"/>
   <property name="contact" value="[email protected]"/>
   <property name="description" value="xyz REST Services"/>
   <property name="host" value="0.0.0.0"/>
   <property name="prettyPrint" value="false"/>
   <property name="resourcePackage" value="com.twc.ctg.xyz.service.rest"/>
   <property name="title" value="xyz REST Services"/>
</bean>


<!-- Depends on activemq due to tvod vendor rest service using amqp to
send notifications -->
<!-- This endpoint scans our rest.custom directory for Providers,
NameBindings etc. -->
<jaxrs:server id="ecpWebServices"
basePackages="com.twc.ctg.ecp.service.rest.custom"
address="http://0.0.0.0:8877"; depends-on="activeMQConnectionFactory">
   <jaxrs:inInterceptors>
      <ref bean="validationInInterceptor"/>
   </jaxrs:inInterceptors>
   <jaxrs:outInterceptors>
      <ref bean="validationOutInterceptor"/>
   </jaxrs:outInterceptors>
   <jaxrs:serviceBeans>
      <ref bean="ecpAdminRestServiceV1"/>
      <ref bean="ecpApplicationRestServiceV1"/>
      <ref bean="ecpEntitlementRestServiceV2"/>
      <ref bean="ecpTvodRestServiceV1"/>
      <ref bean="ecpHouseholdHistoryRestServiceV1"/>
      <ref bean="ecpPromotionRestServiceV1"/>
      <ref bean="ecpTvodPromotionServiceV1"/>
      <ref bean="ecpFeatureRestServiceV1"/>
      <ref bean="ecpPpvServiceV1"/>
   </jaxrs:serviceBeans>
   <jaxrs:providers>
      <bean class="com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider"/>
      <bean 
class="org.apache.cxf.rs.security.cors.CrossOriginResourceSharingFilter"/>
      <ref bean="genericRestExceptionMapper"/>
      <ref bean="customValidationExceptionMapper"/>
   </jaxrs:providers>
   <jaxrs:features>
      <ref bean="swagger2FeatureWebServices" />
   </jaxrs:features>
</jaxrs:server>




On Wed, Jun 1, 2016 at 2:38 AM, Sergey Beryozkin [via CXF] <
[email protected]> wrote:

> Hi
>
> I'll be moving it into a dedicated module in 3.2.0-SNAPSHOT, the current
> module has both WADL and Swagger code
>
> Cheers, Sergey
> On 01/06/16 00:35, Benson Margulies wrote:
>
> > Somewhere in
> >
> >
> > [INFO]
>  org.apache.cxf:cxf-rt-rs-service-description:jar:3.1.4:provided
> >
> >
> >
> >
> >
> > On Tue, May 31, 2016 at 7:31 PM, javaworkinggirl
> > <[hidden email] <http:///user/SendEmail.jtp?type=node&node=5769172&i=0>>
> wrote:
> >> Which jar?
> >>
> >>
> >>
> >> --
> >> View this message in context:
> http://cxf.547215.n5.nabble.com/Swagger2Feature-jar-and-version-tp5769165p5769167.html
> >> Sent from the cxf-user mailing list archive at Nabble.com.
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://cxf.547215.n5.nabble.com/Swagger2Feature-jar-and-version-tp5769165p5769172.html
> To unsubscribe from Swagger2Feature jar and version, click here
> <http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5769165&code=amF2YXdvcmtpbmdnaXJsQGdtYWlsLmNvbXw1NzY5MTY1fC0xMTE1Njg5NTY4>
> .
> NAML
> <http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Swagger2Feature-jar-and-version-tp5769165p5769200.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to