Skip to content

Commit 3ccf714

Browse files
committed
erge branch 'chore/update-user-docs' of github.com:DataDog/stickerlandia into chore/update-user-docs
2 parents 4489e5a + 5e9bc15 commit 3ccf714

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

user-management/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The project follows a ports and adapters architecture style, split down into `Dr
3030

3131
### User Management API (`/api/users/v1`)
3232

33-
You can find th full [Open API specification in the docs folder](./docs/api.yaml).
33+
You can find the full [Open API specification in the docs folder](./docs/api.yaml).
3434

3535
## Features
3636

user-management/src/Stickerlandia.UserManagement.Api/Configurations/AuthorizeOperationFilter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ public void Apply(OpenApiOperation operation, OperationFilterContext context)
3030

3131
var oauth2SecurityScheme = new OpenApiSecurityScheme()
3232
{
33-
Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "OAuth2" },
33+
Reference = new OpenApiReference { Type = ReferenceType.SecurityScheme, Id = "oauth2" },
3434
};
3535

3636

3737
operation.Security.Add(new OpenApiSecurityRequirement()
3838
{
39-
[oauth2SecurityScheme] = new[] { "OAuth2" }
39+
[oauth2SecurityScheme] = new[] { "oauth2" }
4040
});
4141
}
4242
}

user-management/src/Stickerlandia.UserManagement.Api/Configurations/RemoveSwaggerDefinitionsFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public void Apply(OpenApiDocument swaggerDoc, DocumentFilterContext context)
1515
{
1616
swaggerDoc.Components.Schemas.Remove(nameof(Claim));
1717
swaggerDoc.Components.Schemas.Remove(nameof(ClaimsIdentity));
18-
swaggerDoc.Components.Schemas.Remove(nameof(ClaimsIdentity));
18+
swaggerDoc.Components.Schemas.Remove(nameof(ClaimsPrincipal));
1919
}
2020
}

0 commit comments

Comments
 (0)