Skip to content

defaulting to stream for unknown mime types#1471

Merged
baywet merged 3 commits intomainfrom
feature/default-stream
Mar 31, 2022
Merged

defaulting to stream for unknown mime types#1471
baywet merged 3 commits intomainfrom
feature/default-stream

Conversation

@baywet
Copy link
Member

@baywet baywet commented Mar 30, 2022

fixes #302
fixes #546

@baywet baywet added this to the Community Preview milestone Mar 30, 2022
@baywet baywet added the generator Issues or improvements relater to generation capabilities. label Mar 30, 2022
@baywet baywet self-assigned this Mar 30, 2022
baywet added 3 commits March 31, 2022 10:16
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@baywet baywet changed the title - draft implementation of defaulting to stream for unknown types defaulting to stream for unknown mime types Mar 31, 2022
}
[Fact]
public void GeneratesAVoidExecutorForSingle204() {
[InlineData("application/json", "204", true, "void")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏼

@baywet baywet merged commit 6f2c51e into main Mar 31, 2022
@baywet baywet deleted the feature/default-stream branch March 31, 2022 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

generator Issues or improvements relater to generation capabilities.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

An operation without a return schema should default to a Stream/byte[] response type. Handle text based media type responses.

2 participants