- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 143 for swagger (0.15 sec)
-
api/openapi-spec/swagger.json
"securityDefinitions": { "BearerToken": { "description": "Bearer Token authentication", "in": "header", "name": "authorization", "type": "apiKey" } }, "swagger": "2.0"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 18:37:07 UTC 2024 - 3.1M bytes - Viewed (0) -
docs/zh/docs/how-to/configure-swagger-ui.md
# 配置 Swagger UI 你可以配置一些额外的 <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI 参数</a>. 如果需要配置它们,可以在创建 `FastAPI()` 应用对象时或调用 `get_swagger_ui_html()` 函数时传递 `swagger_ui_parameters` 参数。 `swagger_ui_parameters` 接受一个直接传递给 Swagger UI的字典,包含配置参数键值对。 FastAPI会将这些配置转换为 **JSON**,使其与 JavaScript 兼容,因为这是 Swagger UI 需要的。 ## 不使用语法高亮 比如,你可以禁用 Swagger UI 中的语法高亮。
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun May 05 21:34:13 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/en/docs/how-to/configure-swagger-ui.md
# Configure Swagger UI You can configure some extra <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Swagger UI parameters</a>. To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function. `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 2.8K bytes - Viewed (0) -
docs/de/docs/how-to/configure-swagger-ui.md
``` ## Andere Parameter der Swagger-Oberfläche Um alle anderen möglichen Konfigurationen zu sehen, die Sie verwenden können, lesen Sie die offizielle <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration" class="external-link" target="_blank">Dokumentation für die Parameter der Swagger-Oberfläche</a>. ## JavaScript-basierte Einstellungen
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:17:49 UTC 2024 - 3.3K bytes - Viewed (0) -
fastapi/openapi/docs.py
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 10.1K bytes - Viewed (0) -
docs_src/custom_docs_ui/tutorial001.py
return get_swagger_ui_html( openapi_url=app.openapi_url, title=app.title + " - 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.swagger_ui_oauth2_redirect_url, include_in_schema=False)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
**Swagger UI** uses the files: * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js" class="external-link" target="_blank">`swagger-ui-bundle.js`</a> * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a> And **ReDoc** uses the file:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 7.5K bytes - Viewed (0) -
docs/de/docs/how-to/custom-docs-ui-assets.md
**Swagger UI** verwendet folgende Dateien: * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui-bundle.js" class="external-link" target="_blank">`swagger-ui-bundle.js`</a> * <a href="https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css" class="external-link" target="_blank">`swagger-ui.css`</a> Und **ReDoc** verwendet diese Datei:
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/controller.go
func (c *Controller) updateSpecLocked() { specList := make([]cached.Value[*spec.Swagger], 0, len(c.specsByName)) for crd := range c.specsByName { specList = append(specList, c.specsByName[crd].mergedVersionSpec) } cache := cached.MergeList(func(results []cached.Result[*spec.Swagger]) (*spec.Swagger, string, error) { localCRDSpec := make([]*spec.Swagger, 0, len(results)) for k := range results { if results[k].Err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 9.6K bytes - Viewed (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py
def test_swagger_ui_html(client: TestClient): response = client.get("/docs") assert response.status_code == 200, response.text assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js" in response.text assert "https://unpkg.com/swagger-ui-dist@5/swagger-ui.css" in response.text def test_swagger_ui_oauth2_redirect_html(client: TestClient): response = client.get("/docs/oauth2-redirect")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu May 23 22:59:02 UTC 2024 - 1.3K bytes - Viewed (0)