Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 2,530 for api (0.04 sec)

  1. docs/zh/docs/advanced/dataclasses.md

    注意,数据类不支持 Pydantic 模型的所有功能。
    
    因此,开发时仍需要使用 Pydantic 模型。
    
    但如果数据类很多,这一技巧能给 FastAPI 开发 Web API 增添不少助力。🤓
    
    ///
    
    ## `response_model` 使用数据类
    
    在 `response_model` 参数中使用 `dataclasses`:
    
    ```Python hl_lines="1  7-13  19"
    {!../../docs_src/dataclasses/tutorial002.py!}
    ```
    
    本例把数据类自动转换为 Pydantic 数据类。
    
    API 文档中也会显示相关概图:
    
    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## 在嵌套数据结构中使用数据类
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/generate-clients.md

    Da **FastAPI** auf der OpenAPI-Spezifikation basiert, erhalten Sie automatische Kompatibilität mit vielen Tools, einschließlich der automatischen API-Dokumentation (bereitgestellt von Swagger UI).
    
    Ein besonderer Vorteil, der nicht unbedingt offensichtlich ist, besteht darin, dass Sie für Ihre API **Clients generieren** können (manchmal auch <abbr title="Software Development Kits">**SDKs**</abbr> genannt), für viele verschiedene **Programmiersprachen**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. internal/s3select/errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errInvalidScanRangeParameter(err error) *s3Error {
    	return &s3Error{
    		code:       "InvalidRequestParameter",
    		message:    "The value of a parameter in ScanRange element is invalid. Check the service API documentation and try again.",
    		statusCode: 400,
    		cause:      err,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 14 16:48:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/security/oauth2-scopes.md

    作用域是更精密的权限系统,遵循 OAuth2 标准,与 OpenAPI 应用(和 API 自动文档)集成。
    
    OAuth2 也是脸书、谷歌、GitHub、微软、推特等第三方身份验证应用使用的机制。这些身份验证应用在用户登录应用时使用 OAuth2 提供指定权限。
    
    脸书、谷歌、GitHub、微软、推特就是 OAuth2 作用域登录。
    
    本章介绍如何在 **FastAPI** 应用中使用 OAuth2 作用域管理验证与授权。
    
    /// warning | "警告"
    
    本章内容较难,刚接触 FastAPI 的新手可以跳过。
    
    OAuth2 作用域不是必需的,没有它,您也可以处理身份验证与授权。
    
    但 OAuth2 作用域与 API(通过 OpenAPI)及 API 文档集成地更好。
    
    不管怎么说,**FastAPI** 支持在代码中使用作用域或其它安全/授权需求项。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. impl/maven-core/pom.xml

        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-plugin-api</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-model-builder</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-core</artifactId>
        </dependency>
        <dependency>
          <groupId>org.apache.maven</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:40:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. docs/pt/docs/features.md

    ### Documentação automática
    
    Documentação interativa da API e navegação _web_ da interface de usuário. Como o _framework_ é baseado no OpenAPI, há várias opções, 2 incluídas por padrão.
    
    * <a href="https://github.com/swagger-api/swagger-ui" class="external-link" target="_blank"><strong>Swagger UI</strong></a>, com navegação interativa, chame e teste sua API diretamente do navegador.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. docs/sts/ldap.md

    ## Introduction
    
    MinIO provides a custom STS API that allows integration with LDAP based corporate environments including Microsoft Active Directory. The MinIO server uses a separate LDAP service account to lookup user information. The login flow for a user is as follows:
    
    - User provides their AD/LDAP username and password to the STS API.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/discovery/v1/generated.proto

      // endpoint.
      // +optional
      optional k8s.io.api.core.v1.ObjectReference targetRef = 4;
    
      // deprecatedTopology contains topology information part of the v1beta1
      // API. This field is deprecated, and will be removed when the v1beta1
      // API is removed (no sooner than kubernetes v1.24).  While this field can
      // hold values, it is not writable through the v1 API, and any attempts to
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

    import java.util.Properties;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class MavenPropertiesLoaderTest {
    
        @Test
        void testIncludes() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. docs/de/docs/how-to/extending-openapi.md

    * `title`: Der OpenAPI-Titel, der in der Dokumentation angezeigt wird.
    * `version`: Die Version Ihrer API, z. B. `2.5.0`.
    * `openapi_version`: Die Version der verwendeten OpenAPI-Spezifikation. Standardmäßig die neueste Version: `3.1.0`.
    * `summary`: Eine kurze Zusammenfassung der API.
    * `description`: Die Beschreibung Ihrer API. Dies kann Markdown enthalten und wird in der Dokumentation angezeigt.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top