Skip to content

Commit

Permalink
Fixed openapi-java (CAMEL-19764)
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriOndrusek committed Aug 30, 2023
1 parent f3ec265 commit 817b20d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void openApiBasicAuthSecurityDefinition(OpenApiContentType contentType) {
.statusCode(200)
.body(
"components.securitySchemes", hasKey("basicAuth"),
"components.securitySchemes.basicAuth.name", is("basic"),
"components.securitySchemes.basicAuth.scheme", is("basic"),
"components.securitySchemes.basicAuth.type", is("http"),
"components.securitySchemes.basicAuth.description", is("Basic Authentication"));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public void openApiBearerAuthSecurityDefinition(OpenApiContentType contentType)
.statusCode(200)
.body(
"components.securitySchemes", hasKey("bearerAuth"),
"components.securitySchemes.bearerAuth.name", is("bearer"),
"components.securitySchemes.bearerAuth.scheme", is("bearer"),
"components.securitySchemes.bearerAuth.type", is("http"),
"components.securitySchemes.bearerAuth.bearerFormat", is("Bearer Token Authentication"));
}
Expand Down

0 comments on commit 817b20d

Please sign in to comment.