Results of 1 - 3 of about 3 for dist (0.001 sec.)
- Custom Docs UI Static Assets (Self-Hosting) 11533
- Custom Docs UI Static Assets (Self-Hosting) Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . The API docs use Swagger UI and ReDoc , and each of those need some Jav
...Swagger UI" , oauth2_redirect_url = app . swagger_ui_oauth2_redirect_url , swagger_js_url = "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" , swagger_css_url = "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" , ) @app . get ( app . sw...Swagger UI" , oauth2_redirect_url = app . swagger_ui_oauth2_redirect_url , swagger_js_url = "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" , swagger_css_url = "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" , ) @app . get ( app . sw...Swagger UI" , oauth2_redirect_url = app . swagger_ui_oauth2_redirect_url , swagger_js_url = "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" , swagger_css_url = "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" , ) @app . get ( app . sw... - https://man.mtool.work/fastapi/0.115/how-to/custom-docs-ui-assets/
- Configure Swagger UI 9357
- Configure Swagger UI Warning The current page still doesn't have a translation for this language. But you can help translating it: Contributing . You can configure some extra Swagger UI parameters . To configure them, pass the swagger_ui_pa
...se to load the Swagger UI JavaScript. It is normally set to a CDN URL. """ ), ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js" , swagger_css_url : Annotated [ str , Doc ( """ The URL to use to load the Swagger UI CSS. It is n...ormally set to a CDN URL. """ ), ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css" , swagger_favicon_url : Annotated [ str , Doc ( """ The URL of the favicon to use. It is normally shown...I. You normally don't need to use or change this. """ # copied from https://github.com/swagger-api/swagger-ui/blob/v4.14.0/dist/oauth2-redirect.html html = """ <!doctype html> <html lang="en-US"> <head> <title>Swagger UI: OAuth2 Redirect</title> </he... - https://man.mtool.work/fastapi/0.115/how-to/configure-swagger-ui/
- エラーハンドリング 6975
- エラーハンドリング APIを使用しているクライアントにエラーを通知する必要がある状況はたくさんあります。 このクライアントは、フロントエンドを持つブラウザ、誰かのコード、IoTデバイスなどが考えられます。 クライアントに以下のようなことを伝える必要が
...HTTPException を発生させる際には、 str だけでなく、JSONに変換できる任意の値を detail パラメータとして渡すことができます。 dist や list などを渡すことができます。 これらは FastAPI によって自動的に処理され、JSONに変換されます。 カスタムヘッダーの追加... - https://man.mtool.work/fastapi/0.115/tutorial/handling-errors/
PREV
1
NEXT