Sjoerd van der Meer

Results 18 comments of Sjoerd van der Meer

Found it: https://github.com/dotnet/aspnetcore/blob/faf269645b0338a9f4a7ecc88b46053f80f6f602/src/Tools/GetDocumentInsider/src/Commands/GetDocumentCommandWorker.cs

Currently we do this in the file `Enum.Member.Annotations.liquid`. Maybe it's helpfull for someone :). ```liquid {% if IsStringEnum %} [System.Text.Json.Serialization.JsonStringEnumMemberName(@"{{ enum.Value | replace: '"', '""' }}")] {% endif %} ```...

Or emit a `#if NET9_0_OR_GREATER` in the template

So it's either a config option or requiring >= NET9 for this feature. November 2026 v8 will be out of support. I can't make this decision, but the first quick...

I know, but adding a config option for one year when System.Text.Json 8.x goes out of support is a lot. So add the check for NET9_0_OR_GREATER and when Net8 is...

The JsonSchemaExporter does not create seperate schemas for each object but it nests them and tries to create references as part of the schema it self. I think this can...

You can configure the MaxDepth on the `HttpJsonOptions`. They are used for the SchemaExporter AND Minimal Apis. The MaxDepth is to prevent DDOS attacks so just keep that in mind....

@koshaliev thanks for the issue. You're right the default behavior should not emit trailing slashes for servers (the spec allows a trailing slash) as paths need to start with a...