We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 421f14e commit b9b261cCopy full SHA for b9b261c
src/CarbonAware.WebApi/src/Program.cs
@@ -46,6 +46,11 @@
46
c.EnableAnnotations();
47
c.OperationFilter<CarbonAwareParametersBaseDtoOperationFilter>();
48
c.SchemaFilter<CarbonAwareParametersBaseDtoSchemaFilter>();
49
+ c.SwaggerDoc("v1", new OpenApiInfo
50
+ {
51
+ Version = serviceVersion,
52
+ Title = serviceName,
53
+ });
54
});
55
56
builder.Services.Configure<CarbonAwareVariablesConfiguration>(builder.Configuration.GetSection(CarbonAwareVariablesConfiguration.Key));
0 commit comments