-------------------------------------------- On Tue, 1/24/17, tony tam <[email protected]> wrote:
Subject: Re: Regarding integration of swagger ui for api documentation in existing java-spring api system To: [email protected] Date: Tuesday, January 24, 2017, 7:06 PM All caps gentle reminder :) Please read http://swagger.io on how to integrate. On Jan 24, 2017, at 9:05 AM, Animesh Bajpai <[email protected]> wrote: GENTLE REMIDER On Monday, January 23, 2017 at 5:22:25 PM UTC+5:30, Animesh Bajpai wrote:This is my bean xml<?xml version="1.0" encoding="UTF-8"?><!-- @author: njha --><beans xmlns="http://www. springframework.org/schema/ beans" xmlns:xsi="http://www.w3.org/ 2001/XMLSchema-instance" xmlns:aop="http://www. springframework.org/schema/aop " xmlns:tx="http://www. springframework.org/schema/tx" xmlns:jaxws="http://cxf. apache.org/jaxws" xmlns:jaxrs="http://cxf. apache.org/jaxrs" xmlns:cxf="http://cxf.apache. org/core" xmlns:context="http://www. springframework.org/schema/ context" xmlns:jee="http://www. springframework.org/schema/jee " xmlns:util="http://www. springframework.org/schema/ util" xsi:schemaLocation="http:// www.springframework.org/ schema/beans http://www.springframework. org/schema/beans/spring-beans- 2.5.xsd http://www.springframework. org/schema/tx http://www.springframework. org/schema/tx/spring-tx-2.5. xsd http://www.springframework. org/schema/aop http://www.springframework. org/schema/aop/spring-aop-2.5. xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/ jaxws.xsd http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/ jaxrs.xsd http://cxf.apache.org/ configuration/security http://cxf.apache.org/schemas/ configuration/security.xsd http://cxf.apache.org/ transports/http/configuration http://cxf.apache.org/schemas/ configuration/http-conf.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/ core.xsd http://www.springframework. org/schema/context http://www.springframework. org/schema/context/spring- context-2.5.xsd http://www.springframework. org/schema/jee http://www.springframework. org/schema/jee/spring-jee-2.5. xsd http://www.springframework. org/schema/util http://www.springframework. org/schema/util/spring-util-2. 5.xsd "> <bean id="ruleResource" class="com.rule.impl. RuleResourceImpl" > <property name="deviceViewService"> <ref bean="deviceViewService" /> </property> <property name="actionApiService"> <ref bean="actionApiService" /> </property> </bean> </beans> and this is my java resource file package com.rule.api; import javax.jws.WebService;import javax.servlet.http. HttpServletRequest;import javax.ws.rs.*;import javax.ws.rs.core.Context;import javax.xml.bind.JAXBElement; /** * Created by animesh on Sep 22, 2016. */@WebService(targetNamespace = "http://device.com")@Consumes({"application/xml", "application/json"})@Produces({"application/xml", "application/json"})@Path("/rules/1.0/") public interface RuleResource { @POST @Path("/addRule/customer/{ billingId}") Object addRule(@Context HttpServletRequest request, @PathParam("billingId") String billingId, JAXBElement<BasicRuleRequest> addRuleRequest); } -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. age 4 of 131Cronologia scrisorilor 15 ianuarie 1850 sau 20 decembrie 1849 Se nate Mihai Eminescu fiul lui Gheorghe i Raluca Eminovici proprietarii moiei Ipoteti unde ii petrece copilaria. Dupa o adolescena aventuroasa - studii liceale la Cernaui intrerupte la 14 ani de fuga cu o trupa de teatru mic funcionar la Botoani la 15 ani debut la 16 ani in revista Familia peregrinari prin Ardeal la 17 ani i incercare nereuita de a-i relua studiile la Blaj sufleor de teatru la Bucureti la 18 ani - in toamna lui 1869 la 19 ani Eminescu pleaca la facultate la Viena. 1870 - la 20 de ani - student la Viena Eminescu audiaza cursuri diverse: filosofie drept lingvistica istorie anatomie... incepe sa publice poezii in Convorbiri literare - Venere i Madona Epigonii - i incepe corespondena cu redactorul revistei Iacob Negruzzi. Se imprietenete cu Ioan Slavici coleg de facultate pe care il incurajeaza sa scrie. [scrie lui Iacob Negruzzi din Viena in 17 iun. 1870] [scrie lui Negruzzi din Viena in 4 16 sept. 1870] 1871 - la 21 de ani - student la Viena in vacana participa la serbarea de la Putna fiind unul dintre studenii organizatori . [scrie lui Negruzzi din Viena in 6 feb. 1871] [scrie lui Negruzzi din Viena in 11 feb. 1871] [scrie lui Negruzzi din Viena in 16 mai 1871] [scrie fratelui sau erban Eminovici in 16 dec. 1871] [scrie unui destinatar timiorean neidentificat poate Petru Cermena? - din Viena din sutdenie - intre 1869-1871 - ciorna] 1872 - la 22 de ani - student la Viena student la Berlin Este considerat de Titu Maiorescu poet poet in toata puterea cuvantului i plasat indata dupa Alecsandri in articolul Direcia noua in poezia i proza romana. [scrie parinilor sai Gheorghe i Raluca Eminovici din Viena in 10 feb. 1872] 4 Page 4 of 131 -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
