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

Document configuring JsonOptions for OpenAPI globally #34316

Open
captainsafia opened this issue Dec 9, 2024 · 0 comments
Open

Document configuring JsonOptions for OpenAPI globally #34316

captainsafia opened this issue Dec 9, 2024 · 0 comments
Assignees

Comments

@captainsafia
Copy link
Member

captainsafia commented Dec 9, 2024

Description

Our OpenAPI documentation currently shows how to use JSON serialization options to modify the document generation via attributes.

We should demonstrate how to configure things globally as well with the JSON options configuration.

This would also be a good place to document the fact that MVC's JSON options are distinct from the global JSON options that OpenAPI consumes from.

cc: @mikekistler

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/include-metadata?view=aspnetcore-9.0&tabs=minimal-apis#enum

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/include-metadata.md

Document ID

cbc730ec-642f-480d-4a41-044c6c6ef7d3

Article author

@captainsafia

Related Issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants