Search Options

Results per page
Sort
Preferred Languages
Advance

Results 541 - 550 of 716 for OpenAPI (0.17 sec)

  1. tests/test_extra_routes.py

        assert response.headers["content-type"] == "message/http"
    
    
    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/{item_id}": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/static-files.md

    ///
    
    ### 「マウント」とは
    
    「マウント」とは、特定のパスに完全な「独立した」アプリケーションを追加することを意味します。これにより、すべてのサブパスの処理がなされます。
    
    これは、マウントされたアプリケーションが完全に独立しているため、`APIRouter` とは異なります。メインアプリケーションのOpenAPIとドキュメントには、マウントされたアプリケーションの内容などは含まれません。
    
    これについて詳しくは、**高度なユーザーガイド** をご覧ください。
    
    ## 詳細
    
    最初の `"/static"` は、この「サブアプリケーション」が「マウント」されるサブパスを指します。したがって、`"/static"` から始まるパスはすべてサブアプリケーションによって処理されます。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/response-directly.md

    ```
    
    ## Notas
    
    Quando você retorna uma `Response` diretamente os dados não são validados, convertidos (serializados) ou documentados automaticamente.
    
    Mas você ainda pode documentar como descrito em [Retornos Adicionais no OpenAPI
    ](additional-responses.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. .gitignore

    zz_generated_*_test.go
    
    # Just in time generated data in the source, should never be committed
    /test/e2e/generated/bindata.go
    
    # This file used by some vendor repos (e.g. github.com/go-openapi/...) to store secret variables and should not be ignored
    !\.drone\.sec
    
    /bazel-*
    *.pyc
    
    # generated by verify-vendor.sh
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Feb 29 08:22:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial005_an.py

        assert response.headers["WWW-Authenticate"] == "Bearer"
    
    
    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": {
                "/token": {
                    "post": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body.md

    * Эти схемы являются частью сгенерированной схемы OpenAPI и используются для автоматического документирования <abbr title="Пользовательских интерфейсов (User Interfaces)">UI</abbr>.
    
    ## Автоматическое документирование
    
    Схема JSON ваших моделей будет частью сгенерированной схемы OpenAPI и будет отображена в интерактивной документации API:
    
    <img src="/img/tutorial/body/image01.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/query-params-str-validations.md

    Вы можете добавить больше информации об query-параметре.
    
    Указанная информация будет включена в генерируемую OpenAPI документацию и использована в пользовательском интерфейсе и внешних инструментах.
    
    /// note | "Технические детали"
    
    Имейте в виду, что разные инструменты могут иметь разные уровни поддержки OpenAPI.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. docs/ko/docs/features.md

    * <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (OpenAPI 자체가 JSON Schema를 기반으로 하고 있습니다)를 사용한 자동 데이터 모델 문서화.
    * 단순히 떠올려서 덧붙인 기능이 아닙니다. 세심한 검토를 거친 후, 이러한 표준을 기반으로 설계되었습니다.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. tests/test_infer_param_optionality.py

        assert response.json() == {"item_id": "item01", "user_id": "abc123"}
    
    
    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": {
                "/users/": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  10. tests/test_openapi_examples.py

        response = client.get("/cookie_examples/")
        assert response.status_code == 200, response.text
    
    
    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": {
                "/examples/": {
                    "post": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top