[ python-fastapi] minor improvements (#9622)

* minor python-fastapi improvements

* update doc

* fix refreshUrl
This commit is contained in:
William Cheng
2021-05-31 17:00:23 +08:00
committed by GitHub
parent c4df343052
commit 32a045060e
5 changed files with 32 additions and 9 deletions

View File

@@ -834,10 +834,7 @@ components:
write:pets: modify pets in your account
read:pets: read your pets
type: oauth2
x-tokenInfoFunc: .security_controller_.info_from_petstore_auth
x-scopeValidateFunc: .security_controller_.validate_scope_petstore_auth
api_key:
in: header
name: api_key
type: apiKey
x-apikeyInfoFunc: .security_controller_.info_from_api_key