mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Fixed test
This commit is contained in:
parent
a51ac6a22d
commit
be7ffbbd80
@ -33,7 +33,7 @@ async function generateV3() {
|
||||
}
|
||||
|
||||
async function generate() {
|
||||
// await generateV2();
|
||||
await generateV2();
|
||||
await generateV3();
|
||||
}
|
||||
|
||||
|
||||
@ -314,7 +314,29 @@
|
||||
"RequestBody"
|
||||
],
|
||||
"requestBody": {
|
||||
"$ref": "#/components/requestBodies/SimpleRequestBody"
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/requestBodies/SimpleRequestBody"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v{api-version}/formData/": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"FormData"
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"multipart/form-data": {
|
||||
"schema": {
|
||||
"$ref": "#/components/requestBodies/SimpleRequestBody"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user