Skip to content

Add OpenAPI endpoint to Company.WebApplication1.http#64951

Merged
mikekistler merged 2 commits intomainfrom
mikekistler-patch-1
Jan 14, 2026
Merged

Add OpenAPI endpoint to Company.WebApplication1.http#64951
mikekistler merged 2 commits intomainfrom
mikekistler-patch-1

Conversation

@mikekistler
Copy link
Contributor

Add OpenAPI endpoint to Company.WebApplication1.http

  • You've read the Contributor Guide and Code of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

This PR adds a request to the OpenAPI endpoint in the http file for C# webapi projects.

Copilot AI review requested due to automatic review settings January 6, 2026 21:49
@github-actions github-actions bot added the needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically label Jan 6, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds an HTTP request for the OpenAPI endpoint (/openapi/v1.json) to the .http file used in the C# Web API project template, making it easier for developers to test the OpenAPI documentation endpoint alongside the weather forecast API.

Key changes:

  • Added a GET request to /openapi/v1.json with JSON accept header
  • Positioned before the existing weather forecast endpoint request

@mikekistler mikekistler added feature-openapi area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc and removed needs-area-label Used by the dotnet-issue-labeler to label those issues which couldn't be triaged automatically labels Jan 7, 2026
@mikekistler mikekistler merged commit eca5b46 into main Jan 14, 2026
25 checks passed
@mikekistler mikekistler deleted the mikekistler-patch-1 branch January 14, 2026 02:39
@dotnet-policy-service dotnet-policy-service bot added this to the 11.0-preview1 milestone Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc feature-openapi

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants