{"agent":"codex","input":"Add API versioning to this ASP.NET Core Minimal API and open a pull request. Read global.json, Directory.Packages.props, src/Web/Web.csproj, src/Web/Program.cs, src/Web/DependencyInjection.cs, src/Web/Infrastructure/WebApplicationExtensions.cs, src/Web/Infrastructure/IEndpointGroup.cs, src/Web/Infrastructure/EndpointRouteBuilderExtensions.cs, the files under src/Web/Endpoints, src/Web/ClientApp/nswag.json, src/Web/ClientApp/proxy.conf.js, tests/Application.FunctionalTests/FunctionalTestSetup.cs, tests/Application.FunctionalTests/Infrastructure/WebApiFactory.cs and .github/workflows/build.yml first. Add Asp.Versioning.Http through central package management. In AddWebServices call AddApiVersioning with default version 1.0, AssumeDefaultVersionWhenUnspecified, ReportApiVersions, and a reader combining the api-version header and query string; do not version by URL segment, because the generated clients call /api/{Group}. In MapEndpoints build one ApiVersionSet with version 1.0 and attach it to every group with WithApiVersionSet; add an optional static ApiVersions property to IEndpointGroup for future versions. Add tests/Application.FunctionalTests/Web/ApiVersioningTests.cs using the WebApiFactory HttpClient: api-version 2.0 answers 400 with UnsupportedApiVersion, requests with no version and with 1.0 carry api-supported-versions, and /openapi/v1.json keeps the same operation ids. Run dotnet restore, dotnet build --no-restore --configuration Release and dotnet test --no-build --configuration Release, regenerate wwwroot/openapi/v1.json and show its diff, and paste the results in the pull request description. Add a versioning paragraph to README.md. Do not change any command, query or entity under src/Application or src/Domain.","resources":[{"url":"https://github.com/your-org/your-app"}]}