You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am starting to use the swagger-codegen. I build and try to run the PetStore nodejs server sample.
The server is started correctly at HTTP://localhost:8080/. Anyway when I try to verify APi, there are two issues:
On HTTP://localhost:8080/docs, choose one API, eg, /pet/1/uploadImage, it actually cannot specify anything for body. Similar to other API, you cannot specify the body also.
When the requestBody is "multipart/form-data", even though I try to use other API testing tool(Eg, postman) to specify the body of API /pet/1/uploadImage, only "additionalMetadata" get all body input, while "file" and "petId" is empty for the controller method. Should the controller only has one parameter for whole body?
Swagger-codegen version
I am using latest code of branch 3.0.0.
Swagger declaration file content or url
I did not make a line of code change for the testing.
#9786 ### Description
I am starting to use the swagger-codegen. I build and try to run the PetStore nodejs server sample.
The server is started correctly at HTTP://localhost:8080/. Anyway when I try to verify APi, there are two issues:
Swagger-codegen version
I am using latest code of branch 3.0.0.
Swagger declaration file content or url
I did not make a line of code change for the testing.
Command line used for generation
Steps to reproduce
Related issues/PRs
Suggest a fix/enhancement
The text was updated successfully, but these errors were encountered: