Skip to content

Conversation

@marcominerva
Copy link
Owner

Refactor the Schema property in the OpenApiHelpers class to remove the nested Reference property initialization. The Schema property for MediaTypeNames.Application.ProblemJson is now directly initialized with an OpenApiSchemaReference using nameof(ProblemDetails), reducing complexity and improving readability.

Refactor the `Schema` property in the `OpenApiHelpers` class to remove the nested `Reference` property initialization. The `Schema` property for `MediaTypeNames.Application.ProblemJson` is now directly initialized with an `OpenApiSchemaReference` using `nameof(ProblemDetails)`, reducing complexity and improving readability.
@marcominerva marcominerva merged commit ba3a390 into master Nov 13, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants