- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 727 for OpenAPI (0.04 seconds)
-
docs/pt/docs/tutorial/body-fields.md
/// warning | Atenção Chaves extras passadas para `Field` também estarão presentes no schema OpenAPI resultante da sua aplicação. Como essas chaves podem não fazer necessariamente parte da especificação OpenAPI, algumas ferramentas de OpenAPI, por exemplo [o validador do OpenAPI](https://validator.swagger.io/), podem não funcionar com o schema gerado. /// ## Recapitulando { #recap }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Nov 12 16:23:57 GMT 2025 - 2.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-operation-configuration.md
`status_code` 用于定义*路径操作*响应中的 HTTP 状态码。 可以直接传递 `int` 代码, 比如 `404`。 如果记不住数字码的涵义,也可以用 `status` 的快捷常量: {* ../../docs_src/path_operation_configuration/tutorial001.py hl[3,17] *} 状态码在响应中使用,并会被添加到 OpenAPI 概图。 /// note | 技术细节 也可以使用 `from starlette import status` 导入状态码。 **FastAPI** 的`fastapi.status` 和 `starlette.status` 一样,只是快捷方式。实际上,`fastapi.status` 直接继承自 Starlette。 /// ## `tags` 参数Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 3.2K bytes - Click Count (0) -
tests/test_request_params/test_query/test_list.py
return {"p": p.p} @pytest.mark.parametrize( "path", ["/required-list-str", "/model-required-list-str"], ) def test_required_list_str_schema(path: str): assert app.openapi()["paths"][path]["get"]["parameters"] == [ { "required": True, "schema": { "title": "P", "type": "array", "items": {"type": "string"},Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 10.9K bytes - Click Count (0) -
docs/ko/docs/how-to/configure-swagger-ui.md
설정을 변경하지 않으면, 기본적으로 구문 강조 기능이 활성화되어 있습니다: <img src="/img/tutorial/extending-openapi/image02.png"> 그러나 `syntaxHighlight`를 `False`로 설정하여 구문 강조 기능을 비활성화할 수 있습니다: {* ../../docs_src/configure_swagger_ui/tutorial001.py hl[3] *} ...그럼 Swagger UI에서 더 이상 구문 강조 기능이 표시되지 않습니다: <img src="/img/tutorial/extending-openapi/image03.png"> ## 테마 변경
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Dec 09 12:25:19 GMT 2024 - 3.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/first-steps.md
#### `openapi.json` 확인 FastAPI는 자동으로 API의 설명과 함께 JSON (스키마)를 생성합니다. 가공되지 않은 OpenAPI 스키마가 어떻게 생겼는지 궁금하다면, 여기에서 직접 볼 수 있습니다: <a href="http://127.0.0.1:8000/openapi.json" class="external-link" target="_blank">http://127.0.0.1:8000/openapi.json</a>. 다음과 같이 시작하는 JSON을 확인할 수 있습니다: ```JSON { "openapi": "3.0.2", "info": { "title": "FastAPI",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Oct 11 17:48:49 GMT 2025 - 10.3K bytes - Click Count (0) -
docs/de/docs/advanced/generate-clients.md
```sh npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client ``` Dies generiert ein TypeScript-SDK in `./src/client`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 11.7K bytes - Click Count (0) -
docs/pt/docs/advanced/generate-clients.md
```sh npx @hey-api/openapi-ts -i http://localhost:8000/openapi.json -o src/client ``` Isso gerará um SDK TypeScript em `./src/client`.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.9K bytes - Click Count (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py
assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": {Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
docs/zh/docs/tutorial/metadata.md
### 标签顺序 每个标签元数据字典的顺序也定义了在文档用户界面显示的顺序。 例如按照字母顺序,即使 `users` 排在 `items` 之后,它也会显示在前面,因为我们将它的元数据添加为列表内的第一个字典。 ## OpenAPI URL 默认情况下,OpenAPI 模式服务于 `/openapi.json`。 但是你可以通过参数 `openapi_url` 对其进行配置。 例如,将其设置为服务于 `/api/v1/openapi.json`: {* ../../docs_src/metadata/tutorial002.py hl[3] *} 如果你想完全禁用 OpenAPI 模式,可以将其设置为 `openapi_url=None`,这样也会禁用使用它的文档用户界面。 ## 文档 URLs 你可以配置两个文档用户界面,包括: * **Swagger UI**:服务于 `/docs`。Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.5K bytes - Click Count (0) -
docs/en/docs/how-to/configure-swagger-ui.md
<img src="/img/tutorial/extending-openapi/image02.png"> But you can disable it by setting `syntaxHighlight` to `False`: {* ../../docs_src/configure_swagger_ui/tutorial001_py39.py hl[3] *} ...and then Swagger UI won't show the syntax highlighting anymore: <img src="/img/tutorial/extending-openapi/image03.png"> ## Change the Theme { #change-the-theme }
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 2.9K bytes - Click Count (0)