Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 64 for Enums (0.03 seconds)

  1. docs/ru/docs/tutorial/path-operation-configuration.md

    Они будут добавлены в схему OpenAPI и будут использованы в автоматической документации интерфейса:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Теги с перечислениями { #tags-with-enums }
    
    Если у вас большое приложение, вы можете прийти к необходимости добавить **несколько тегов**, и возможно, вы захотите убедиться в том, что всегда используете **один и тот же тег** для связанных *операций пути*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  2. docs/de/docs/tutorial/path-operation-configuration.md

    Diese werden zum OpenAPI-Schema hinzugefügt und von den automatischen Dokumentations-Benutzeroberflächen verwendet:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags mittels Enumeration { #tags-with-enums }
    
    Wenn Sie eine große Anwendung haben, können sich am Ende **viele Tags** anhäufen, und Sie möchten sicherstellen, dass Sie für verwandte *Pfadoperationen* immer den **gleichen Tag** verwenden.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/path-operation-configuration.md

    Ils seront ajoutés au schéma OpenAPI et utilisés par les interfaces de documentation automatiques :
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Utiliser des tags avec Enum { #tags-with-enums }
    
    Si vous avez une grande application, vous pourriez finir par accumuler **plusieurs tags**, et vous voudrez vous assurer d'utiliser toujours le **même tag** pour les *chemins d'accès* associés.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial002_py310.py hl[15,20,25] *}
    
    OpenAPI 概图会自动添加标签,供 API 文档接口使用:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### 使用 Enum 的标签 { #tags-with-enums }
    
    如果你的应用很大,可能会积累出很多标签,你会希望确保相关的*路径操作*始终使用相同的标签。
    
    这种情况下,把标签存放在 `Enum` 中会更合适。
    
    **FastAPI** 对此的支持与使用普通字符串相同:
    
    {* ../../docs_src/path_operation_configuration/tutorial002b_py310.py hl[1,8:10,13,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/path-operation-configuration.md

    전달된 태그들은 OpenAPI의 스키마에 추가되며, 자동 문서 인터페이스에서 사용됩니다:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Enum을 사용한 태그 { #tags-with-enums }
    
    큰 애플리케이션이 있다면, **여러 태그**가 쌓이게 될 수 있고, 관련된 *경로 처리*에 항상 **같은 태그**를 사용하는지 확인하고 싶을 것입니다.
    
    이런 경우에는 태그를 `Enum`에 저장하는 것이 합리적일 수 있습니다.
    
    **FastAPI**는 일반 문자열과 동일한 방식으로 이를 지원합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Sets.java

            return ImmutableSet.of();
          }
        }
      }
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code ImmutableSet}
       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Sets.java

            return ImmutableSet.of();
          }
        }
      }
    
      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code ImmutableSet}
       * with an implementation specialized for enums. Unlike {@link ImmutableSet#toImmutableSet}, the
       * resulting set will iterate over elements in their enum definition order, not encounter order.
       *
       * @since 21.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  8. docs/en/docs/release-notes.md

    * ✨ Add support for tags with Enums. PR [#4468](https://github.com/tiangolo/fastapi/pull/4468) by [@tiangolo](https://github.com/tiangolo). New docs: [Path Operation Configuration - Tags with Enums](https://fastapi.tiangolo.com/tutorial/path-operation-configuration/#tags-with-enums).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 03 12:07:04 GMT 2026
    - 631K bytes
    - Click Count (0)
  9. CHANGELOG/CHANGELOG-1.23.md

    ## Changelog since v1.23.5
    
    ## Changes by Kind
    
    ### API Change
    
    - Omits alpha-level enums from the static openapi file captured in api/openapi-spec ([#109179](https://github.com/kubernetes/kubernetes/pull/109179), [@liggitt](https://github.com/liggitt)) [SIG Apps and Auth]
    
    ### Feature
    
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Feb 28 21:06:52 GMT 2023
    - 424.5K bytes
    - Click Count (0)
  10. fastapi/routing.py

                )
            else:
                current_generate_unique_id = generate_unique_id_function
            self.unique_id = self.operation_id or current_generate_unique_id(self)
            # normalize enums e.g. http.HTTPStatus
            if isinstance(status_code, IntEnum):
                status_code = int(status_code)
            self.status_code = status_code
            if self.response_model:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top