Closed s-knibbs closed 5 years ago
OpenAPI 3 supports some additional keywords for property schemas such as readOnly . These could be specified in the field metadata:
readOnly
@dataclass class Employee(JsonSchemaMixin): id: int = field(metadata=dict(read_only=True), default=-1) name: str department: str
OpenAPI 3 supports some additional keywords for property schemas such as
readOnly
. These could be specified in the field metadata: