-
Notifications
You must be signed in to change notification settings - Fork 7
Devx 867 render body fix #353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5f5cfc8
1b8dcb2
a302d58
a7d26b5
4bdefa3
19896c3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| openapi: "3.0.0" | ||
|
Check failure on line 1 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
| info: | ||
| title: Multipart Body Test API | ||
| version: "v1" | ||
|
|
||
| servers: | ||
| - url: https://example.com/{version} | ||
|
Check warning on line 7 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
|
|
||
| paths: | ||
| /test: | ||
| post: | ||
|
Check warning on line 11 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
| operationId: TestPost | ||
| requestBody: | ||
| content: | ||
| application/json: | ||
| schema: | ||
| $ref: '#/components/schemas/TestRequest' | ||
|
|
||
| multipart/form-data: | ||
| schema: | ||
| $ref: '#/components/schemas/TestMultipartRequest' | ||
|
|
||
| responses: | ||
|
Check warning on line 23 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
| "200": | ||
| description: |- | ||
| 200 | ||
| content: {} | ||
|
Check warning on line 27 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
|
|
||
| components: | ||
|
Check warning on line 29 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
|
|
||
| schemas: | ||
| TestRequest: | ||
|
Check warning on line 32 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
| type: "object" | ||
| required: | ||
| - prompt | ||
| properties: | ||
| prompt: | ||
| type: "string" | ||
| TestMultipartRequest: | ||
|
Check warning on line 39 in languages/oas/src/test/resources/fixtures/multipart-body.yaml
|
||
| type: "object" | ||
| required: | ||
| - prompt | ||
| properties: | ||
| prompt: | ||
| type: "string" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #%RAML 1.0 | ||
| title: Multipart Body Test API | ||
| baseUri: https://example.com/{version} | ||
| version: v1 | ||
| mediaType: application/json | ||
|
|
||
| types: | ||
| TestRequest: | ||
| type: object | ||
| properties: | ||
| prompt: string | ||
| TestMultipartRequest: | ||
| type: object | ||
| properties: | ||
| prompt: string | ||
|
|
||
| /test: | ||
| post: | ||
| body: | ||
| application/json: | ||
| type: TestRequest | ||
| multipart/form-data: | ||
| type: TestMultipartRequest | ||
| responses: | ||
| 200: |
Uh oh!
There was an error while loading. Please reload this page.