Skip to content

Commit

Permalink
fix: Open-API docs in YAML format being authenticated (now permitted …
Browse files Browse the repository at this point in the history
…to all)
  • Loading branch information
nicoprow committed Feb 20, 2025
1 parent 02adcd2 commit 8706361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ For changes to the BPDM Helm charts please consult the [changelog](charts/bpdm/C
- BPDM Pool: Fix not returning the most-up-to-date legal and site main address when it has been modified by an update to the site ([#1209](https://github.com/eclipse-tractusx/bpdm/issues/1209))
- BPDM Pool: Add check for correct LSA parent hierarchy when consuming golden record tasks ([#1230](https://github.com/eclipse-tractusx/bpdm/issues/1230))
- BPDM Apps: Fix Open-API specification not having scopes property in clientCredentials flow ([#1234](https://github.com/eclipse-tractusx/bpdm/issues/1234))
- BPDM Apps: Fix access rights for the Open-API documents in YAML format ([#1237](https://github.com/eclipse-tractusx/bpdm/issues/1237))

## [6.2.0] - 2024-11-28

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class OAuthSecurityConfig(
it.requestMatchers(AntPathRequestMatcher.antMatcher(HttpMethod.OPTIONS, "/**")).permitAll()
it.requestMatchers(AntPathRequestMatcher.antMatcher("/")).permitAll() // forwards to swagger
it.requestMatchers(AntPathRequestMatcher.antMatcher("/docs/api-docs/**")).permitAll()
it.requestMatchers(AntPathRequestMatcher.antMatcher("/docs/api-docs.yaml/**")).permitAll()
it.requestMatchers(AntPathRequestMatcher.antMatcher("/ui/swagger-ui/**")).permitAll()
it.requestMatchers(AntPathRequestMatcher.antMatcher("/actuator/health/**")).permitAll()
it.requestMatchers(AntPathRequestMatcher.antMatcher("/error")).permitAll()
Expand Down

0 comments on commit 8706361

Please sign in to comment.