Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defaulting to stream for unknown mime types #1471

Merged
merged 3 commits into from
Mar 31, 2022
Merged

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
@@ -1768,8 +1768,40 @@ public void Single_path_with_get_collection()
Assert.NotNull(responseClass);
Assert.Equal("some description", responseClass.Description);
}
[Fact]
public void GeneratesAVoidExecutorForSingle204() {
[InlineData("application/json", "204", true, "void")]
Copy link
Member

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
2 participants