Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 739 for openapi (0.07 seconds)

  1. tests/test_tutorial/test_custom_response/test_tutorial005.py

        assert response.status_code == 200, response.text
        assert response.text == "Hello World"
    
    
    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": {
                "/": {
                    "get": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 985 bytes
    - Click Count (0)
  2. docs/en/docs/reference/openapi/models.md

    # OpenAPI `models`
    
    OpenAPI Pydantic models used to generate and validate the generated OpenAPI.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 125 bytes
    - Click Count (0)
  3. tests/test_tutorial/test_custom_response/test_tutorial006.py

        assert response.headers["location"] == "https://typer.tiangolo.com"
    
    
    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": {
                "/typer": {
                    "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)
  4. docs/tr/docs/how-to/general.md

    ## OpenAPI Meta Verileri - Dokümantasyon
    
    OpenAPI şemanıza lisans, sürüm, iletişim vb. meta veriler eklemek için, [Tutorial - Metadata and Docs URLs](../tutorial/metadata.md){.internal-link target=_blank} sayfasını okuyun.
    
    ## OpenAPI Bağlantı Özelleştirme
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon May 27 16:20:52 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  5. docs/de/docs/alternatives.md

    ///
    
    ### <a href="https://swagger.io/" class="external-link" target="_blank">Swagger</a> / <a href="https://github.com/OAI/OpenAPI-Specification/" class="external-link" target="_blank">OpenAPI</a> { #swagger-openapi }
    
    Die Hauptfunktion, die ich vom Django REST Framework haben wollte, war die automatische API-Dokumentation.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 27.4K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/tutorial/first-steps.md

    在這種情況下,它指的是 JSON 的屬性、資料型別等。
    
    #### OpenAPI 和 JSON Schema
    
    OpenAPI 定義了 API 的 schema。這個 schema 包含了使用 **JSON Schema** 定義的資料,這是 JSON 資料 schema 的標準。
    
    #### 檢查 `openapi.json`
    
    如果你好奇原始的 OpenAPI schema 長什麼樣子,FastAPI 會自動生成一個包含所有 API 描述的 JSON (schema)。
    
    你可以直接在 <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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. tests/test_request_params/test_form/test_optional_list.py

    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_schema(path: str):
        openapi = app.openapi()
        body_model_name = get_body_model_name(openapi, path)
    
        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/behind-a-proxy.md

    Entonces, el frontend (que se ejecuta en el navegador) trataría de alcanzar `/openapi.json` y no podría obtener el esquema de OpenAPI.
    
    Porque tenemos un proxy con un prefijo de path de `/api/v1` para nuestra aplicación, el frontend necesita obtener el esquema de OpenAPI en `/api/v1/openapi.json`.
    
    ```mermaid
    graph LR
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  9. docs/zh/docs/how-to/general.md

    ## OpenAPI 自定义 URL
    
    要自定义 OpenAPI 的 URL(或删除它),请阅读 [教程 - 元数据和文档 URL](../tutorial/metadata.md#openapi-url){.internal-link target=_blank} 文档。
    
    ## OpenAPI 文档 URL
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Apr 22 23:41:09 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/custom-response.md

    ///
    
    /// info | Información
    
    Por supuesto, el `Content-Type` header real, el código de estado, etc., provendrán del objeto `Response` que devolviste.
    
    ///
    
    ### Documenta en OpenAPI y sobrescribe `Response` { #document-in-openapi-and-override-response }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.2K bytes
    - Click Count (0)
Back to Top