swagger-api / swagger-api/swagger-codegen
C# Stream in request body .
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
Swagger syntax to work with stream in request body..
I have an API which is defined as accepting stream in request body on c# side however from postman we test it by sending RAW data in body.
I am not sure how to define it in swagger and how to get it work with swagger code-gen.
I tried several ways by defining it as a string-binary or string-byte but none of them worked so far.
Could you please help me out?
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
The issue names no repository files or tests. Start by reviewing the OpenAPI request-body schema options for raw stream data and how swagger-codegen maps them to C#; done means identifying a supported definition or documenting the missing generator support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, openapi
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100