swagger-api / swagger-api/swagger-client
GET call is failing with "status": 415, "error": "Unsupported Media Type",
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 2.7k
- Forks
- 765
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 6
Description
How to call SwaggerClient.execute(), for a GET call with no body and content-type 'application/json',
what parameters to pass?
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 SwaggerClient.execute() entry point and its usage documentation or source. Reproduce the GET request with no body and content-type application/json, then determine the required parameters and verify that the request no longer returns HTTP 415.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100