Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readonly (0.17 sec)

  1. tests/test_computed_fields.py

                            "width": {"type": "integer", "title": "Width"},
                            "length": {"type": "integer", "title": "Length"},
                            "area": {"type": "integer", "title": "Area", "readOnly": True},
                        },
                        "type": "object",
                        "required": ["width", "length", "area"],
                        "title": "Rectangle",
                    }
                }
            },
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        # A Vocabulary for Basic Meta-Data Annotations
        title: Optional[str] = None
        description: Optional[str] = None
        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
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 22:49:33 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top