Client generated from API does not contain FileResponse
See original GitHub issueI tried generating a C# Winx64 Client from API located at https://developer.allegro.pl/swagger.yaml using NSwag GUI. No matter which generation mode I choose, I always get code which references FileResponse in one of the methods but there’s no FileResponse class generated in the output. The offending API method /sale/dispute-attachments/{attachmentId}
is described as returning type */*
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to handle FileResponse return type of Nswag methods
I am using Nswag to generate client library to consume an API created from .NET Core Application. Currently I am using actions that...
Read more >Custom Response - HTML, Stream, File, others - FastAPI
If you use a response class with no media type, FastAPI will expect your response to have no content, so it will not...
Read more >Request and response objects
Django uses request and response objects to pass state through the system. ... POST does not include file-upload information. See FILES . HttpRequest....
Read more >Describing Responses
An API can respond with various media types. JSON is the most common format for data exchange, but not the only one possible....
Read more >Responses
Responses. Starlette includes a few response classes that handle sending back the appropriate ASGI messages on the send channel.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I encountered the same error, but for Typescript client
Any news on this?