Hi Roshan,

On Wed, Jan 10, 2018 at 4:55 AM, roshan wijesena <[email protected]>
wrote:

> Folks,
>
> Do we have a significant difference between swagger and openAPI? According
> to the https://swagger.io/blog/difference-between-swagger-and-openapi/,
> swagger is a tool and openAPI is the spec it self.
>
> Do we need to concern about swagger definition vs openAPI definition,
> rather versions of it?
>

That's exactly what's being discussed above. Here we're talking about
swagger 2.0 and OpenAPI 3.0 specs.

Thanks,
Bhathiya


>
> Regards
> Roshan
>
>
>
> On Wed, Jan 10, 2018 at 7:25 AM, Harsha Kumara <[email protected]> wrote:
>
>>
>>
>> On Tue, Jan 9, 2018 at 10:57 AM, Thilini Shanika <[email protected]>
>> wrote:
>>
>>> @Bhathiya,
>>>
>>> Our initial plan was to provide an advanced option for developers to
>>> decide the version(Whether in Swagger 2.0 or OpenAPI 3.0)  of the
>>> generating swagger definition, but later we decided to stick to OpenAPI 3.0
>>> for newly creating APIs to avoid some complexities in supporting both
>>> versions for APIs which are created from scratch in API Publisher. We would
>>> further check the feasibility and alternative solutions of supporting both
>>> versions in API Design phase.
>>>
>>> @Chamila
>>> Thanks for bringing this up for discussion. Yes, we are planning to
>>> support both swagger versions in REST APIs like API create, API update, API
>>> Definition Update etc.
>>>
>> In this case will our swagger console in store compatible with multiple
>> swagger versions? How would be the compatibility of swagger library across
>> multiple versions that we currently used in the product?
>>
>>>
>>> @Lakmal
>>> I moved the summery of the conversation to [1] and we can continue the
>>> rest of the discussion in the GitHub issue itself.
>>>
>>> On Tue, Jan 9, 2018 at 9:37 AM, Lakmal Warusawithana <[email protected]>
>>> wrote:
>>>
>>>> Hi Thilini,
>>>>
>>>> Shall we add this discussion into issue [1] itself.  It will be easy to
>>>> external party to get involve.
>>>>
>>>> On Mon, Jan 8, 2018 at 2:28 PM, Thilini Shanika <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> We are planning to provide OpenAPI 3.0 specification support for API
>>>>> Manager 2.2.0 [1]. We did a background research on what's new in OpenAPI
>>>>> and the feasibility of providing OpenAPI 3.0 support over APIM 2.2.0. As
>>>>> per the current architecture of APIM, it is feasible to support OpenAPI 
>>>>> 3.0
>>>>> spec, parallel with Swagger 2.0 (Swagger 2.0 support is required for
>>>>> migrated APIs from previous releases)
>>>>>
>>>>> Following are the functionalities we are planning to ship with this
>>>>> new feature.
>>>>>
>>>>>    1. Supporting OpenAPI 3.0 spec for newly designing/Creating APIs
>>>>>    (When an API is created from the scratch, the underneath API definition
>>>>>    will be generated in OpenAPI 3.0)
>>>>>    2. The API definitions of migrated APIs from previous releases are
>>>>>    based on Swagger 2.0 spec. Thus, Swagger 2.0 spec support will be 
>>>>> continued
>>>>>    for migrated APIs
>>>>>    3. Providing support to import OpenAPI 3.0 spec based API
>>>>>    definitions while creating an API from an existing source.
>>>>>    4. Swagger editor in APIM 2.2.0 has been upgraded to 3.x version
>>>>>    so that it will be supporting OpenAPI 3.0 spec while updating API 
>>>>> source
>>>>>    via Swagger Editor in API Publisher.
>>>>>    5. Swagger UI in APIM 2.2.0 has been upgraded to 3.x version so
>>>>>    that API Console in API Store will be supporting OpenAPI 3.0 based API
>>>>>    definitions
>>>>>    6. Providing the functionality of switching the gateway
>>>>>    environment endpoints for OpenAPI 3.0 specific APIs (If it is a 
>>>>> Swagger 2.0
>>>>>    based API definition, the relevant gateway endpoint should be 
>>>>> specified in
>>>>>    host, basepath and schema elements of the Swagger definition. But in
>>>>>    OpenAPI 3.0, the gateway endpoint details should be specified under 
>>>>> server
>>>>>    element of the definition. )
>>>>>
>>>>>
>>>>> Any suggestions to improve the functionalities and usability aspects
>>>>> of the feature? Your comments and thoughts on this are highly appreciated.
>>>>>
>>>>> [1] https://github.com/wso2/carbon-apimgt/issues/4897
>>>>>
>>>>> Thanks
>>>>>
>>>>> --
>>>>> Thilini Shanika
>>>>> Senior Software Engineer
>>>>> WSO2, Inc.; http://wso2.com
>>>>> 20, Palmgrove Avenue, Colombo 3
>>>>>
>>>>> E-mail: [email protected]
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lakmal Warusawithana
>>>> Senior Director - Cloud Architecture; WSO2 Inc.
>>>> Mobile : +94714289692 <+94%2071%20428%209692>
>>>> Blogs : https://medium.com/@lakwarus/
>>>>             http://lakmalsview.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thilini Shanika
>>> Senior Software Engineer
>>> WSO2, Inc.; http://wso2.com
>>> 20, Palmgrove Avenue, Colombo 3
>>>
>>> E-mail: [email protected]
>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>> Harsha Kumara
>> Software Engineer, WSO2 Inc.
>> Mobile: +94775505618 <+94%2077%20550%205618>
>> Blog:harshcreationz.blogspot.com
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Bhathiya Jayasekara*
*Associate Technical Lead,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
<http://www.linkedin.com/in/bhathiyaj>*
*Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
*Blog: http://movingaheadblog.blogspot.com
<http://movingaheadblog.blogspot.com/>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to