swagger 相关问题

Swagger是一个框架实现,用于基于Open API规范描述,生成,使用和可视化RESTful Web服务

如何在Nestjs生成的Swagger Document中定义HTML响应

一起工作,以生成摇晃的响应dto。 我想在Swagger文件中指示我要返回HTML和HTML的格式或模板的格式。 thanks!

回答 0 投票 0

具有不同URLS

AmazonController

回答 1 投票 0

我有一个C#.NET 5.0 ASP.NET CORE WEB API应用程序,其中包含“启用OpenAPI支持”。我想在下面的示例中隐藏

[HttpGet] [Route("search")] [Authorize] public async Task<IActionResult> Search(string query, string optional = "") { return OK(); }

回答 2 投票 0



如何在OpenAPI 3.0.x?

字段是允许字母数字字符的字符串。

回答 1 投票 0

如何在Open API中包括标题参数的验证3.0.2

clientId: name: clientId in: header description: unique identifier required: true schema: type: string format: random value of 20 alphanumeric characters

回答 1 投票 0




宣誓没有显示任何控制器或端点

宣传API文档图像 我正在努力在Springboot项目中添加 /集成Swagger。 I have tried different things but its not got fixed.现在显示的所有内容都是白页,没有任何

回答 1 投票 0


-nestjs宣传记录路径参数

请求看起来像这样:

回答 1 投票 0

Spring启动3.4.1- Swagger UI 404错误:OpenAPI YAML File

将我的Spring Boot应用程序从3.3.7版升级到3.4.1后,我无法再访问http:// localhost:8080/Swagger-ui/index.html的Swagger UI。 相反,我遇到以下发行...

回答 0 投票 0

我有一个简单的yaml文件,其中包含API描述,我想在其中使用其他properties OpenAPI:3.0.1 信息: 标题:extpleapp 版本:1.0.0 路径: /例子: 邮政: RequestBody: ...

openapi: 3.0.1 info: title: exampleApp version: 1.0.0 paths: /example: post: requestBody: content: application/json: schema: $ref: "#/components/schemas/Example" responses: '200': description: > Success. content: application/json: schema: type: string components: schemas: Example: type: object properties: name: type: string prop1: type: string additionalProperties: type: string

回答 1 投票 0



Http:// localhost:6106/api-docs/

回答 1 投票 0


openapiGenerator Multipart/form-data属性错误的MIME类型

/api/SomeEndpoint: post: requestBody: content: multipart/form-data: schema: type: object properties: id: type: string csv: type: string format: binary encoding: csv: contentType: text/csv

回答 1 投票 0

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.