On Thu, Sep 14, 2017 at 5:18 PM, Viduranga Gunarathne <[email protected]> wrote:
> Hi, > With the existing implementation in the store and publisher yaml, there is > only a single scope provided in the security for resources as shown in > Image #1. But other swagger definitions tend to have multiple scopes for a > single resource as shown in Image #2. > Currently there is no requirement in API Manager to support for multiple > scopes but I was wondering if there would be a requirement to cater to > multiple scopes in future ? > I think we should have this capability. @Viduranga it seems petstore swagger scope deinition inside petsore_auth element which is different which we defined in our swagger. Can you check the standard way how people specify this and change our implementation accordingly? > > ======================================================================== > Image #1: (store-api.yaml in API Manager) > ------------------------------------------------------------ > ------------------------------------------------ > ------------------------------------------------------------ > ----------------------------------------------- > ======================================================================= > Image #2: (Petstore swagger in http://petstore.swagger.io/) > ------------------------------------------------------------ > ------------------------------------ > > ---------------------------------------------------------- > -------------------------------------- > ======================================================================= > > Thanks, > Viduranga. > -- > Regards, > > *Viduranga Gunarathne* > > *Software Engineer Intern* > > > *WSO2* > Email : [email protected] > Mobile : +94712437484 <+94%2071%20243%207484> > Web : http://wso2.com > [image: https://wso2.com/signature] <https://wso2.com/signature> > -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 <+94%2077%20550%205618> Blog:harshcreationz.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
