Hi Ushani,

On 4 June 2015 at 11:58, Ushani Balasooriya <ush...@wso2.com> wrote:

> Hi Jo,
>
> Just to re confirm, all attributes include, context, tags, endpoints etc
> as well I suppose?
>

Swagger documentation has the resource definition (paths, methods, auth
types, tiers, scope), scope definition (name, key, roles) and API title &
version. It doesn't store any other information like endpoints, tags,
context, etc.

Thanks,
Lakmali

>
> On Thu, Jun 4, 2015 at 11:29 AM, Joseph Fonseka <jos...@wso2.com> wrote:
>
>> Hi
>>
>> Generally it should import the whole document but some of the attributes
>> should be treated differently depending on the context ex. API Name should
>> only get imported if the API is not saved. If the API is saved the designer
>> should replace the name in swagger with the API's name.
>>
>> Cheers
>> Jo
>>
>> On Thu, Jun 4, 2015 at 6:54 AM, Lakmali Baminiwatta <lakm...@wso2.com>
>> wrote:
>>
>>> Adding Jo and Madusanka.
>>>
>>> On 4 June 2015 at 11:09, Ushani Balasooriya <ush...@wso2.com> wrote:
>>>
>>>> Hi APIm Team,
>>>>
>>>> When you import a swagger document, should it import only the swagger
>>>> related resources (E.g., resource and scopes) or the whole API information?
>>>>
>>>> According to the issue [1] if it is  only swagger information, it still
>>>> imports the API name as well.
>>>> Pls advice.
>>>>
>>>> [1] https://wso2.org/jira/browse/APIMANAGER-3722
>>>>
>>>>
>>>> Thanks!
>>>> --
>>>> *Ushani Balasooriya*
>>>> Senior Software Engineer - QA;
>>>> WSO2 Inc; http://www.wso2.com/.
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Lakmali Baminiwatta
>>>  Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>> mobile:  +94 71 2335936
>>> blog : lakmali.com
>>>
>>>
>>
>>
>> --
>>
>> --
>> *Joseph Fonseka*
>>  WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 772 512 430
>> skype: jpfonseka
>>
>> * <http://lk.linkedin.com/in/rumeshbandara>*
>>
>>
>
>
> --
> *Ushani Balasooriya*
> Senior Software Engineer - QA;
> WSO2 Inc; http://www.wso2.com/.
> Mobile; +94772636796
>
>


-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to