Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 952 for openat (0.05 sec)

  1. docs/tr/docs/tutorial/path-params.md

    Dikkatinizi çekerim ki, yol parametresi integer olarak tanımlanmıştır.
    
    ///
    
    ## Standartlara Dayalı Avantajlar, Alternatif Dokümantasyon
    
    Oluşturulan şema <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md" class="external-link" target="_blank">OpenAPI</a> standardına uygun olduğu için birçok uyumlu araç mevcuttur.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. cmd/sts-datatypes.go

    	// which means the policy exceeded the allowed space.
    	PackedPolicySize int `xml:",omitempty"`
    
    	// The issuing authority of the web identity token presented. For OpenID Connect
    	// ID tokens, this contains the value of the iss field. For OAuth 2.0 id_tokens,
    	// this contains the value of the ProviderId parameter that was passed in the
    	// AssumeRoleWithWebIdentity request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  3. fastapi/openapi/models.py

        default: Optional[Any] = None
        deprecated: Optional[bool] = None
        readOnly: Optional[bool] = None
        writeOnly: Optional[bool] = None
        examples: Optional[List[Any]] = None
        # Ref: OpenAPI 3.1.0: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#schema-object
        # Schema Object
        discriminator: Optional[Discriminator] = None
        xml: Optional[XML] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. docs/pt/docs/advanced/settings.md

    ### Declarando `Settings` apenas uma vez com `lru_cache`
    
    Ler o conteúdo de um arquivo em disco normalmente é uma operação custosa (lenta), então você provavelmente quer fazer isso apenas um vez e reutilizar o mesmo objeto settings depois, em vez de ler os valores a cada requisição.
    
    Mas cada vez que fazemos:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. tests/test_param_in_path_and_dependency.py

    def test_read_users():
        response = client.get("/users/42")
        assert response.status_code == 200, response.text
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/{user_id}": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tests/test_security_api_key_header_description.py

        assert response.json() == {"detail": "Not authenticated"}
    
    
    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/me": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. tests/test_security_http_bearer.py

        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    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/me": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. tests/test_security_http_digest_description.py

        assert response.json() == {"detail": "Invalid authentication credentials"}
    
    
    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/me": {
                    "get": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/security/oauth2-scopes.md

    **FastAPI** 无缝集成 OAuth2 作用域(`Scopes`),可以直接使用。
    
    作用域是更精密的权限系统,遵循 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)
  10. fastapi/openapi/utils.py

        _get_flat_fields_from_params,
        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, ParamTypes
    from fastapi.responses import Response
    from fastapi.types import ModelNameMap
    from fastapi.utils import (
        deep_dict_update,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top