,example = "四川") # Field可以定义请求体的格式和类型
citys: Optional[List] = None
population: int = Field(default...schema_extra = {
"example":{
"country":"中国",
"provence":"四川...",
"citys":["绵阳","成都","遂宁","..."],
"population":66666666...schema_extra = {
"example":{
"country":"中国",
"provence":"四川...",
"citys":["绵阳","成都","遂宁","..."],
"population":66666666