swagger-api / swagger-api/swagger-codegen
[swift4] requestBuilder init with empty value isBody
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I have tried to generate test client for swift4, but init method has missing isBody value
Description
return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: )
Swagger-codegen version
3.0.0-rc1
Command line used for generation
java -jar swagger-codegen-cli-3.0.0-rc1.jar generate -i https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/examples/v3.0/petstore-expanded.yaml -l swift4 -o swift4/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the Swagger Codegen 3.0.0-rc1 command and the petstore-expanded.yaml input shown in the report. Inspect the generated Swift4 requestBuilder initializer around the displayed POST call; done means the isBody argument is generated with a valid value and the client output is syntactically complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100