从PDF转换
转换为PDF
从PDF处理
从CAD转换
转换为CAD
从图片转换
转换为图片
文件压缩
电子书转换
使用技巧
客户端下载
Ask Time:2022-11-07T22:02:33 Author:Safari
For a SpringBoot project I defined a multipart/form-data API.
I configured the Swagger for this.
As parameter I'm using an Enum.
Is it possible to show the possible values about this enum into my Swagger?
For a SpringBoot project I defined a multipart/form-data API. I configured the Swagger for this. As parameter I'm using an Enum. Is it possible to show the possible values about this enum into my S...
I’m using Swagger 2.0 and OpenAPI 3 for my project. I want to annotate endpoints for Multipart/form-data request input(attaches 2 files, payload and metadata) where one file could be xml or json and
I hava a POST API using multipart/form-data to send data (requestBody including a binary file, string and object data). I want to add more than one example for object parameter, but I found using e...
I'm trying to create a controller action, which has to upload some files and saves them with some strings into the database. For upload files I use FileFieldsInterceptor and for other data strings ...
I would like to generate a swagger-json containing an enum. My problem is the way the enum gets rendered: "MyEnumType": { "typeName": "MyEnumType", "type": "string", "enum&q
I have an enum which has around 60 values but in the swagger, I want to show only some of the values. I'm using swagger v3. Taking dummy example: Enum import io.swagger.v3.oas.annotations.media.Sch...
I would like to see all enums value about my dto's property in the body section of swagger UI. I put this @ApiQuery decorator in my code: @ApiQuery({ name: 'name', enum: ENUM_NAME, isArray: t...
I have a simple controller method that captures some JSON information as well as an arbitrary number of uploaded image files: @PostMapping(value = "/products", consumes = MediaType.
I've the following dto: export class CreatePersonDto { @IsString() @ApiProperty({ description: 'Person name', example: 'Jhon Doe', }) readonly name: string; @ValidateIf((objec
I'm trying to achieve an OpenAPI definition where I define a shared, complete list of allowed values as an enum and then use subgroups of the values in different places to show which values are all...