Skip to content

Commit bc411b5

Browse files
committed
remove sdk gen
1 parent 0f2b031 commit bc411b5

4 files changed

Lines changed: 0 additions & 492 deletions

File tree

Program.cs

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using Microsoft.IdentityModel.Tokens;
44
using System.Text;
55
using Prometheus;
6-
using Microsoft.OpenApi;
76
using Microsoft.AspNetCore.Server.Kestrel.Core;
87
using DeveSecurity;
98

@@ -57,28 +56,6 @@
5756
};
5857
});
5958

60-
builder.Services.AddSwaggerGen(c =>
61-
{
62-
c.SwaggerDoc("v1", new OpenApiInfo
63-
{
64-
Title = "DEVE Api",
65-
Version = "v1",
66-
Description = "API for DEVE clients"
67-
});
68-
69-
c.AddSecurityDefinition("Bearer", new OpenApiSecurityScheme
70-
{
71-
In = ParameterLocation.Header,
72-
Description = "Please enter JWT with Bearer into field",
73-
Name = "Authorization",
74-
Type = SecuritySchemeType.ApiKey,
75-
Scheme = "Bearer"
76-
});
77-
78-
c.EnableAnnotations();
79-
80-
});
81-
8259
builder.Services.AddAuthorization();
8360
builder.Services.AddScoped<IUserRepo, UserRepo>();
8461
builder.Services.AddScoped<IUserService, UserService>();

openapi-config.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

openapitools.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)