Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 1,284 for descriptions (0.07 seconds)

  1. docs_src/response_model/tutorial004_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float = 10.5
        tags: list[str] = []
    
    
    items = {
        "foo": {"name": "Foo", "price": 50.2},
        "bar": {"name": "Bar", "description": "The bartenders", "price": 62, "tax": 20.2},
        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 595 bytes
    - Click Count (0)
  2. docs/ko/docs/how-to/separate-openapi-schemas.md

    ### 입력용 모델 { #model-for-input }
    
    이 모델을 다음처럼 입력으로 사용하면:
    
    {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *}
    
    ...`description` 필드는 **필수가 아닙니다**. `None`이라는 기본값이 있기 때문입니다.
    
    ### 문서에서의 입력 모델 { #input-model-in-docs }
    
    문서에서 `description` 필드에 **빨간 별표**가 없고, 필수로 표시되지 않는 것을 확인할 수 있습니다:
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image01.png">
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

            }
            if (StringUtil.isNotBlank(dataConfigPager.description)) {
                if (dataConfigPager.description.startsWith("*")) {
                    cb.query().setDescription_Wildcard(dataConfigPager.description);
                } else if (dataConfigPager.description.endsWith("*")) {
                    cb.query().setDescription_Prefix(dataConfigPager.description.replaceAll("\\*$", StringUtil.EMPTY));
                } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. .github/DISCUSSION_TEMPLATE/translations.yml

      - type: input
        id: language
        attributes:
          label: Target Language
          description: What language do you want to translate the FastAPI docs into?
          placeholder: e.g. Latin
        validations:
          required: true
      - type: textarea
        id: additional_info
        attributes:
          label: Additional Information
          description: Any other relevant information about your translation proposal
      - type: markdown
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jul 26 11:35:42 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. tests/test_sse.py

    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
    
    
    items = [
        Item(name="Plumbus", description="A multi-purpose household device."),
        Item(name="Portal Gun", description="A portal opening device."),
        Item(name="Meeseeks Box", description="A box that summons a Meeseeks."),
    ]
    
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  6. .github/ISSUE_TEMPLATE/feature_enhancement_request.yaml

          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide an example usage of the feature that would be different with the improvement.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Current Behavior
          description: What does the feature currently do?
        validations:
          required: true
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Nov 17 18:47:47 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_body_multiple_params/test_tutorial004.py

                            "responses": {
                                "200": {
                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. tests/test_additional_responses_union_duplicate_anyof.py

                            "responses": {
                                "200": {
                                    "description": "Successful Response",
                                    "content": {"application/json": {"schema": {}}},
                                },
                                "500": {
                                    "description": "Internal Server Error",
                                    "content": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  9. docs_src/path_operation_advanced_configuration/tutorial004_py310.py

    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", summary="Create an item")
    async def create_item(item: Item) -> Item:
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
        - **price**: required
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:07:26 GMT 2026
    - 661 bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            this.name = name;
        }
    
        public String getName() {
            return name;
        }
    
        public void setDescription(String description) {
            this.description = description;
        }
    
        public String getDescription() {
            return description;
        }
    
        /**
         * Set required Maven version, as defined in plugin's pom.xml since 3.0.2,
         * as defined in plugin.xml since 4.0.0-alpha-3.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
Back to Top