Thanks for the reply!
I filed an issue https://github.com/swagger-api/swagger-ui/issues/3992

2017年12月6日水曜日 2時40分38秒 UTC+9 Ron:
>
> Looks like a UI bug. Can you file a ticket with the project?
>
>  
>
>  
>
>  
>
> *From: *<[email protected] <javascript:>> on behalf of Yuto 
> SASAKI <[email protected] <javascript:>>
> *Reply-To: *"[email protected] <javascript:>" <
> [email protected] <javascript:>>
> *Date: *Monday, December 4, 2017 at 23:12
> *To: *Swagger <[email protected] <javascript:>>
> *Subject: *Relative path in OAuth 2.0 authorizationUrl is allowed in OAS 
> 3?
>
>  
>
> Hi, 
>
>  
>
> I've found that the doc says 
>
>  
>
> The authorization URL to use for this flow. Can be relative to the API 
> server URL <https://swagger.io/docs/specification/api-host-and-base-path/>
> .
>
>  
>
> at https://swagger.io/docs/specification/authentication/oauth2/ ,
>
> and Swagger Editor does not complaint about the following definition:
>
>  
>
>   securitySchemes:
>
>     petstore_auth:
>
>       type: oauth2
>
>       flows:
>
>         implicit:
>
>           authorizationUrl: oauth/dialog
>
>           scopes:
>
>             write:pets: modify pets in your account
>
>             read:pets: read your pets
>
>
> However, it seems that Swagger UI goes to own server not the API server.
>
>  
>
> Is this a UI bug, or a documentation bug?
>
> -- 
> 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] <javascript:>.
> 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.

Reply via email to