以下是JSON对象的外观,我无法获得显示的限制查询部分的最大值和最小值:
"parameters": [
{
"name": "limit",
"in": "query",
"description": "How many items to return at one time (max 100)",
"minimum": 0,
"maximum": 63333,
"required": false,
"type": "integer",
"format": "int32"
}
],
答案 0 :(得分:1)
我认为这是Swagger-UI(possibly you located the same issue?)的问题。
但是,我尝试使用ReDoc并正确渲染范围的最小值/最大值。