swagger-api / swagger-api/swagger-codegen
[ObjC] "Value transformer not found" error while passing complex request object
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
I am creating a unit test case to test a API. I get the error below when I pass a more complex/nested object in the request while calling an API. Can you guide me what is wrong?
_failed: caught "Value transformer not found", "[JSONValueTransformer _JSONObjectFrom:] not found
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
Start with the unit test that passes the complex or nested request object and trace the failing API call from the reported “Value transformer not found” error. Compare the request model involved with the generated Objective-C transformation behavior; done means the nested request completes without the missing JSONValueTransformer error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- objective-c
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100