Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 701 - 710 of 1,228 for description (0.12 seconds)

  1. tests/test_openapi_model_description_trim_on_formfeed.py

    def test_openapi():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        openapi_schema = response.json()
    
        assert openapi_schema["components"]["schemas"]["MyModel"]["description"] == (
            "A model with a form feed character in the title.\n"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Jun 17 07:46:27 GMT 2025
    - 660 bytes
    - Click Count (0)
  2. docs_src/pydantic_v1_in_v2/tutorial002_an_py310.py

    from fastapi import FastAPI
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 16:45:54 GMT 2025
    - 252 bytes
    - Click Count (0)
  3. fastapi/_compat/v2.py

        for item_def in cast(dict[str, dict[str, Any]], definitions).values():
            if "description" in item_def:
                item_description = cast(str, item_def["description"]).split("\f")[0]
                item_def["description"] = item_description
        new_mapping, new_definitions = _remap_definitions_and_field_mappings(
            model_name_map=model_name_map,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_response_directly/test_tutorial002.py

                                    "application/json": {
                                        "schema": {},
                                    },
                                },
                                "description": "Successful Response",
                            },
                        },
                        "summary": "Get Legacy Data",
                    },
                },
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. impl/maven-core/src/test/remote-repo/org/apache/maven/maven/2.0/maven-2.0.pom

    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven</artifactId>
      <packaging>pom</packaging>
      <name>Maven</name>
      <version>2.0</version>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  6. tests/test_tutorial/test_metadata/test_tutorial002.py

                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                    }
                }
            },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/first-steps.md

    **FastAPI** generates a "schema" with all your API using the **OpenAPI** standard for defining APIs.
    
    #### "Schema" { #schema }
    
    A "schema" is a definition or description of something. Not the code that implements it, but just an abstract description.
    
    #### API "schema" { #api-schema }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. docs_src/pydantic_v1_in_v2/tutorial002_an_py39.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic.v1 import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        size: float
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item) -> Item:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 284 bytes
    - Click Count (0)
  9. docs_src/body/tutorial003_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 330 bytes
    - Click Count (0)
  10. build-logic-commons/basics/build.gradle.kts

    plugins {
        `kotlin-dsl`
    }
    
    description = "Provides plugins for configuring miscellaneous things (repositories, reproducibility, minify)"
    
    group = "gradlebuild"
    
    dependencies {
        api("gradlebuild:build-environment")
        api(platform(projects.buildPlatform))
    
        implementation("com.google.guava:guava") {
            because("Used by class analysis")
        }
        implementation("org.ow2.asm:asm") {
            because("Used by class analysis")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 996 bytes
    - Click Count (0)
Back to Top