Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _const0 (0.03 sec)

  1. tests/test_union_body_discriminator.py

                        "FirstItem": {
                            "properties": {
                                "value": {
                                    "type": "string",
                                    "const": "first",
                                    "title": "Value",
                                },
                                "price": {"type": "integer", "title": "Price"},
                            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        # A Vocabulary for Structural Validation
        type: Optional[Union[SchemaType, list[SchemaType]]] = None
        enum: Optional[list[Any]] = None
        const: Optional[Any] = None
        multipleOf: Optional[float] = Field(default=None, gt=0)
        maximum: Optional[float] = None
        exclusiveMaximum: Optional[float] = None
        minimum: Optional[float] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top