Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 734 for openapi (0.15 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    #### OpenAPI e JSON *Schema*
    
    OpenAPI define um *schema* de API para sua API. E esse *schema* inclui definições (ou "*schemas*") dos dados enviados e recebidos por sua API usando **JSON *Schema***, o padrão para *schemas* de dados JSON.
    
    #### Verifique o `openapi.json`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/first-steps.md

    #### OpenAPI y JSON Schema
    
    OpenAPI define un schema de API para tu API. Ese schema incluye definiciones (o "schemas") de los datos enviados y recibidos por tu API usando **JSON Schema**, el estándar para los schemas de datos en JSON.
    
    #### Revisa el `openapi.json`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/generate-clients.md

    # 生成客户端
    
    因为 **FastAPI** 是基于OpenAPI规范的,自然您可以使用许多相匹配的工具,包括自动生成API文档 (由 Swagger UI 提供)。
    
    一个不太明显而又特别的优势是,你可以为你的API针对不同的**编程语言**来**生成客户端**(有时候被叫做 <abbr title="Software Development Kits">**SDKs**</abbr> )。
    
    ## OpenAPI 客户端生成
    
    有许多工具可以从**OpenAPI**生成客户端。
    
    一个常见的工具是 <a href="https://openapi-generator.tech/" class="external-link" target="_blank">OpenAPI Generator</a>。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  4. docs_src/generate_clients/tutorial004.py

    import json
    from pathlib import Path
    
    file_path = Path("./openapi.json")
    openapi_content = json.loads(file_path.read_text())
    
    for path_data in openapi_content["paths"].values():
        for operation in path_data.values():
            tag = operation["tags"][0]
            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 493 bytes
    - Viewed (0)
  5. tests/test_local_docs.py

        body_content = html.body.decode()
        assert swagger_js_url in body_content
        assert swagger_css_url in body_content
        assert swagger_favicon_url in body_content
    
    
    def test_strings_in_custom_swagger():
        swagger_js_url = "swagger_fake_file.js"
        swagger_css_url = "swagger_fake_file.css"
        swagger_favicon_url = "swagger_fake_file.png"
        html = get_swagger_ui_html(
            openapi_url="/docs",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  6. 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 May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 360 bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/first-steps.md

    이러한 경우 JSON 속성, 가지고 있는 데이터 타입 등을 뜻합니다.
    
    #### OpenAPI와 JSON 스키마
    
    OpenAPI는 당신의 API에 대한 API 스키마를 정의합니다. 또한 이 스키마는 JSON 데이터 스키마의 표준인 **JSON 스키마**를 사용하여 당신의 API가 보내고 받는 데이터의 정의(또는 "스키마")를 포함합니다.
    
    #### `openapi.json` 확인
    
    FastAPI는 자동으로 API의 설명과 함께 JSON (스키마)를 생성합니다.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. fastapi/openapi/utils.py

    from fastapi.dependencies.models import Dependant
    from fastapi.dependencies.utils import get_flat_dependant, get_flat_params
    from fastapi.encoders import jsonable_encoder
    from fastapi.openapi.constants import METHODS_WITH_BODY, REF_PREFIX, REF_TEMPLATE
    from fastapi.openapi.models import OpenAPI
    from fastapi.params import Body, Param
    from fastapi.responses import Response
    from fastapi.types import ModelNameMap
    from fastapi.utils import (
        deep_dict_update,
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/generate-clients.md

    ### 🏗 📕 👩‍💻
    
    🔜 👈 👥 ✔️ 📱 ⏮️ 🏷, 👥 💪 🏗 👩‍💻 📟 🕸.
    
    #### ❎ `openapi-ts`
    
    👆 💪 ❎ `openapi-ts` 👆 🕸 📟 ⏮️:
    
    <div class="termy">
    
    ```console
    $ npm install @hey-api/openapi-ts --save-dev
    
    ---> 100%
    ```
    
    </div>
    
    #### 🏗 👩‍💻 📟
    
    🏗 👩‍💻 📟 👆 💪 ⚙️ 📋 ⏸ 🈸 `openapi-ts` 👈 🔜 🔜 ❎.
    
    ↩️ ⚫️ ❎ 🇧🇿 🏗, 👆 🎲 🚫🔜 💪 🤙 👈 📋 🔗, ✋️ 👆 🔜 🚮 ⚫️ 🔛 👆 `package.json` 📁.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  10. docs_src/custom_docs_ui/tutorial001.py

    from fastapi import FastAPI
    from fastapi.openapi.docs import (
        get_redoc_html,
        get_swagger_ui_html,
        get_swagger_ui_oauth2_redirect_html,
    )
    
    app = FastAPI(docs_url=None, redoc_url=None)
    
    
    @app.get("/docs", include_in_schema=False)
    async def custom_swagger_ui_html():
        return get_swagger_ui_html(
            openapi_url=app.openapi_url,
            title=app.title + " - Swagger UI",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Oct 30 09:58:58 GMT 2023
    - 1.1K bytes
    - Viewed (0)
Back to top