コンテンツにスキップ
per page, with , order by , clip by
Results of 1 - 2 of about 2 for property (0.005 sec.)
Extending OpenAPI 11228
Extending OpenAPI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . There are some cases where you might need to modify the generated OpenAPI schema. In this section ... response with the result of the application's .openapi() method. By default, what the method .openapi() does is check the property .openapi_schema to see if it has contents and return them. If it doesn't, it generates them using the utility function at ... chema = openapi_schema return app . openapi_schema app . openapi = custom_openapi Cache the OpenAPI schema You can use the property .openapi_schema as a "cache", to store your generated schema. That way, your application won't have to generate the schema ...
https://man.mtool.work/fastapi/0.115/how-to/extending-openapi/
OAuth2 scopes 7485
OAuth2 scopes Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can use OAuth2 scopes directly with FastAPI , they are integrated to work seamlessly. This would ... token path operation to return the scopes requested. We are still using the same OAuth2PasswordRequestForm . It includes a property scopes with a list of str , with each scope it received in the request. And we return the scopes as part of the JWT token. ...
https://man.mtool.work/fastapi/0.115/advanced/security/oauth2-scopes/
PREV 1 NEXT