refactor: remove asp.net versioning
This commit is contained in:
@@ -64,15 +64,6 @@ public class Startup
|
||||
throw Errors.GenericBadRequest
|
||||
);
|
||||
|
||||
services.AddApiVersioning();
|
||||
|
||||
services.AddVersionedApiExplorer(c =>
|
||||
{
|
||||
c.GroupNameFormat = "'v'VV";
|
||||
c.ApiVersionParameterSource = new UrlSegmentApiVersionReader();
|
||||
c.SubstituteApiVersionInUrl = true;
|
||||
});
|
||||
|
||||
services.AddSwaggerGen(c =>
|
||||
{
|
||||
c.SwaggerDoc("v1.0", new OpenApiInfo { Title = "PluralKit", Version = "1.0" });
|
||||
|
||||
Reference in New Issue
Block a user