We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i am using api versioning by headers so in my regular minimal api code i do have
builder.Services.AddApiVersioning(options => { options.DefaultApiVersion = apiVersion1; options.ReportApiVersions = true; options.AssumeDefaultVersionWhenUnspecified = true; options.ApiVersionReader = new HeaderApiVersionReader("X-Api-Version"); });
app.WithApiVersionSet(versionSet).MapToApiVersion(apiVersion3);
how can i bring this middleware and versioning to Carter Modules?
The text was updated successfully, but these errors were encountered:
This code should work with Carter I believe
Sorry, something went wrong.
No branches or pull requests
i am using api versioning by headers
so in my regular minimal api code i do have
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = apiVersion1;
options.ReportApiVersions = true;
options.AssumeDefaultVersionWhenUnspecified = true;
options.ApiVersionReader = new HeaderApiVersionReader("X-Api-Version");
});
app.WithApiVersionSet(versionSet).MapToApiVersion(apiVersion3);
how can i bring this middleware and versioning to Carter Modules?
The text was updated successfully, but these errors were encountered: