-
Notifications
You must be signed in to change notification settings - Fork 9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: multipart enum initial value not set (#7004)
- Loading branch information
Showing
3 changed files
with
61 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
test/e2e-cypress/static/documents/features/request-body/multipart/enum.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
openapi: 3.0.3 | ||
info: | ||
title: asd | ||
version: 0.0.1 | ||
paths: | ||
/test: | ||
post: | ||
requestBody: | ||
content: | ||
multipart/form-data: | ||
schema: | ||
$ref: '#/components/schemas/TestBody' | ||
responses: | ||
200: | ||
description: ok | ||
components: | ||
schemas: | ||
TestBody: | ||
required: | ||
- test_enum | ||
type: object | ||
properties: | ||
test_enum: | ||
allOf: | ||
- $ref: "#/components/schemas/TestEnum" | ||
TestEnum: | ||
enum: | ||
- A | ||
- B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters