Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2017-12-01 Thread Shazni Nazeer
Is this in the docs? I still can't find it. If not shall we add it. On Thu, Sep 14, 2017 at 8:22 AM, Chamalee De Silva wrote: > Thanks for the information Vijitha. > > > > > Thanks, > Chamalee > > > > > > On Thu, Sep 14, 2017 at 5:28 PM, Vijitha Ekanayake > wrote: > >> Hi Chamalee, >> >> This

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2017-09-14 Thread Chamalee De Silva
Thanks for the information Vijitha. Thanks, Chamalee On Thu, Sep 14, 2017 at 5:28 PM, Vijitha Ekanayake wrote: > Hi Chamalee, > > This feature has been implemented after the ESB 500 release and it should > be available in EI. > You need to add following processors under HttpGetRequestPr

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2017-09-14 Thread Vijitha Ekanayake
Hi Chamalee, This feature has been implemented after the ESB 500 release and it should be available in EI. You need to add following processors under HttpGetRequestProcessors in carbon.xml to get feature to work. swagger.json org.wso2.carbon. mediation

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2017-09-14 Thread Chamalee De Silva
Hi Maheeka and ESB team, Is $Subject available in ESB 5.0.0 ? Do we have any documentation on $Subject that we can use to try swagger support on ESB REST APIs ? I found mail thread [1] and JIRA [2] related to this. Appreciate your help. [1] Integration Cloud - ESB on Cloud [2] https://wso2.org/j

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-28 Thread Joseph Fonseka
Hi Jagath It is the same case weather we provide users to add swagger annotations/notes to define additional parameters in synapse. If we have such approch we can use it to define the path parameter type. Since we are supporting above in the next iteration we could resolve to create the path para

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-26 Thread Jagath Sisirakumara Ariyarathne
Hi, While implementing swagger definition for uri-template based APIs, we have following problem. If we have a template like "/view/{symbol}", we need to define "symbol" as a parameter in swagger definition. According to the swagger spec for parameters[1], if it is a query or path parameter, then

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-26 Thread Jagath Sisirakumara Ariyarathne
Hi All, I have completed initial implementation for url-mapping based APIs. Attached sample API and its definitions. I am further working on supporting uri-templates based definitions. Thanks. On Thu, Sep 22, 2016 at 2:09 PM, Jagath Sisirakumara Ariyarathne < jaga...@wso2.com> wrote: > Hi, > >

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-22 Thread Jagath Sisirakumara Ariyarathne
Hi, In this particular implementation for Integration Cloud, we planned to go with an extension which uses existing information in synapse configurations without updating synapse code base. Therefore as Maheeka mentioned in [1], we are going to provide limited information at initial phase. But in

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-21 Thread Joseph Fonseka
Hi On Tue, Sep 20, 2016 at 4:18 PM, Maheeka Jayasuriya wrote: > > Please note these changes were done based on the level of information we > have on the API by referring to it's configuration. For example, we do not > have a way of determining the request format or uri parameter types and > cont

Re: [Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-21 Thread Jagath Sisirakumara Ariyarathne
Hi All, In addition to above, swagger definitions will be provided in json and yaml formats. Initially it will be done for json. Definitions can be taken from URLs which has swagger.json and swagger.yaml as query string. Example: API Name is SampleAPI *Json format* http://localhost:8280:/Sample

[Dev] [Integration Cloud] Swagger Support for ESB REST APIs

2016-09-20 Thread Maheeka Jayasuriya
Hi all, We are researching on supporting Swagger definitions for REST APIs in ESB. This implementation is quite different from what APIM offers. APIM offers a Swagger to API configuration generation where as what we need to do here is API configuration to Swagger definition generation. As for the