标签: api swagger documentation openapi
我正在尝试使用Swagger OpenAPI 3编写API文档
最重要的部分是为requestBody编写一个模式
检查以下示例
requestBody: { content: { 'application/json': { schema: {'x-ts-type': {x: String}}, }, }, },
结果为空Schema,它不起作用, 问题在哪里?