Exemplo n.º 1
0
 def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
     update_not_none(field_schema,
                     minLength=cls.min_length,
                     maxLength=cls.max_length,
                     format="api_key")
Exemplo n.º 2
0
 def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
     update_not_none(field_schema, values=cls.values)
Exemplo n.º 3
0
 def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
     update_not_none(
         field_schema,
         **_uri_schema,
     )
 def __modify_schema__(cls, field_schema: Dict[str, Any]) -> None:
     super().__modify_schema__(field_schema)
     update_not_none(field_schema, uniqueItems=cls.unique_items)