Skip to content

Support OpenAPI summaries, descriptions, and examples for minimal APIs #40045

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

Closed

Conversation

captainsafia
Copy link
Member

Closes #37906

@captainsafia captainsafia force-pushed the safia/openapi-example-desc branch 2 times, most recently from 63eca9b to f056178 Compare February 7, 2022 18:52
/// Gets an <see cref="AnnotationTarget"/> that indicates whether the example
/// is in reference to a parameter, request body, or response.
/// </summary>
AnnotationTarget Target { get; set; }
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to associate AnnotationTarget.RequestParameter with a specific parameter in the query, header, or route? Is this supposed to be part of the summary or description.

@captainsafia captainsafia force-pushed the safia/openapi-example-desc branch from f056178 to ef9f415 Compare February 8, 2022 01:30
@captainsafia captainsafia force-pushed the safia/openapi-example-desc branch from ef9f415 to fc3f941 Compare February 8, 2022 02:34
@Pilchie Pilchie added the old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
old-area-web-frameworks-do-not-use *DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to set route description or summary with minimal api
3 participants