`Asp.Versioning.Http` package support
See original GitHub issueHI
Thanks for the awesome package. Its awesome.
we add versions to our Apis via api header:
services.AddApiVersioning(options =>
{
options.AssumeDefaultVersionWhenUnspecified = true;
options.DefaultApiVersion = ApiVersion.Default;
options.ReportApiVersions = true;
options.ApiVersionReader = new HeaderApiVersionReader("api-version");
});
The API versioning on https://fast-endpoints.com/docs/api-versioning#deprecate-an-endpoint uses a path for the versioning. For fast endpoints we are also using the “Configure()” override. How can we utilize our version header for apis and using the Configure option. The “Version()” override does not appear to work 😕
Would be awesome if it fastendpoints could support https://github.com/dotnet/aspnet-api-versioning
Thanks again…
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:22 (12 by maintainers)
Top Results From Across the Web
Asp.Versioning.Http 7.0.1
This package contains the foundational library for API versioning with ASP.NET Core and only includes support for Minimal APIs. For additional functionality ...
Read more >ASP.NET API Versioning
Provides a set of libraries which add service API versioning to ASP. ... The client-side libraries make it simple to create API version-aware...
Read more >Which package should be used for versioning API ...
I am using NET 7 in a project and I have a question about which package to use for versioning API controllers. There...
Read more >How to version minimal APIs in ASP.NET Core 6
Install the API versioning NuGet packages. ASP.NET Core 6 minimal APIs support versioning using any of these three packages: Asp.Versioning.Http ...
Read more >ASP.NET Core Versioning: Minimal APIs - CodeWithStu
Versioning.Http package from NuGet. It's worth noting that the name of this package has changed from the previous Microsoft.AspNetCore.Mvc.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
okay soo… with
v5.9.0.1-beta
you can now do the following (if you really must) 😉Let’s first take a look at two images, as follows:
demo => Solution1.zip
The above API essentially only has three APIs, as shown below:
My belongs to Admin,The other two APIs belong to Users。
Reference Documents:https://fast-endpoints.com/docs/swagger-support#swagger-operation-tags
After testing, it is clear that it does not meet expectations. Are you sure this is not a problem?
Do you understand what I mean, or should you tell me what to do?