- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 128 for heredoc (0.19 sec)
-
tests/test_local_docs.py
def test_strings_in_custom_redoc(): redoc_js_url = "fake_redoc_file.js" redoc_favicon_url = "fake_redoc_file.png" html = get_redoc_html( openapi_url="/docs", title="title", redoc_js_url=redoc_js_url, redoc_favicon_url=redoc_favicon_url, ) body_content = html.body.decode() assert redoc_js_url in body_content assert redoc_favicon_url in body_content
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Dec 20 18:50:00 GMT 2020 - 2.4K bytes - Viewed (0) -
docs/zh-hant/docs/index.md
### ReDoc API 文件 使用瀏覽器開啟 <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>。 你將看到 ReDoc 文件 (由 <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a> 生成): ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ## 範例升級
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 23:58:47 GMT 2024 - 18.8K bytes - Viewed (0) -
docs_src/custom_docs_ui/tutorial001.py
async def swagger_ui_redirect(): return get_swagger_ui_oauth2_redirect_html() @app.get("/redoc", include_in_schema=False) async def redoc_html(): return get_redoc_html( openapi_url=app.openapi_url, title=app.title + " - ReDoc", redoc_js_url="https://unpkg.com/redoc@next/bundles/redoc.standalone.js", ) @app.get("/users/{username}") async def read_user(username: str):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Oct 30 09:58:58 GMT 2023 - 1.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/metadata.md
L85: L86:## 文档 URLs L87: L88:你可以配置两个文档用户界面,包括: L89: L90:* **Swagger UI**:服务于 `/docs`。 L91: * 可以使用参数 `docs_url` 设置它的 URL。 L92: * 可以通过设置 `docs_url=None` 禁用它。 L93:* ReDoc:服务于 `/redoc`。 L94: * 可以使用参数 `redoc_url` 设置它的 URL。 L95: * 可以通过设置 `redoc_url=None` 禁用它。 L96: L97:例如,设置 Swagger UI 服务于 `/documentation` 并禁用 ReDoc: L98: L99:```Python hl_lines="3" L100:{!../../../docs_src/metadata/tutorial003.py!} L101:``` ...
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 4.7K bytes - Viewed (0) -
docs_src/custom_docs_ui/tutorial002.py
async def swagger_ui_redirect(): return get_swagger_ui_oauth2_redirect_html() @app.get("/redoc", include_in_schema=False) async def redoc_html(): return get_redoc_html( openapi_url=app.openapi_url, title=app.title + " - ReDoc", redoc_js_url="/static/redoc.standalone.js", ) @app.get("/users/{username}") async def read_user(username: str):
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 19 19:54:04 GMT 2023 - 1.1K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
And **ReDoc** uses the file: * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a> After that, your file structure could look like: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static ├── redoc.standalone.js ├── swagger-ui-bundle.js
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Mon Oct 30 09:58:58 GMT 2023 - 7.5K bytes - Viewed (0) -
fastapi/openapi/docs.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Apr 02 02:48:51 GMT 2024 - 10.1K bytes - Viewed (0) -
docs/tr/docs/tutorial/first-steps.md
### Alternatif API Dokümantasyonu Şimdi <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a> bağlantısını açalım. <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a> tarafından sağlanan otomatik dokümantasyonu göreceğiz: ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png) ### OpenAPI
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Feb 08 13:10:55 GMT 2024 - 10.6K bytes - Viewed (0) -
docs/zh/docs/advanced/extending-openapi.md
**ReDoc** 使用如下文件: * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a> 保存好后,文件架构所示如下: ``` . ├── app │ ├── __init__.py │ ├── main.py └── static ├── redoc.standalone.js ├── swagger-ui-bundle.js └── swagger-ui.css ```
Plain Text - Registered: Sun Mar 31 07:19:09 GMT 2024 - Last Modified: Sat Mar 30 22:46:12 GMT 2024 - 7.7K bytes - Viewed (0) -
docs/en/docs/reference/openapi/docs.md
# OpenAPI `docs` Utilities to handle OpenAPI automatic UI documentation, including Swagger UI (by default at `/docs`) and ReDoc (by default at `/redoc`). ::: fastapi.openapi.docs.get_swagger_ui_html ::: fastapi.openapi.docs.get_redoc_html ::: fastapi.openapi.docs.get_swagger_ui_oauth2_redirect_html
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Wed Oct 18 12:36:40 GMT 2023 - 360 bytes - Viewed (0)