Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger configuration #22

Merged
merged 3 commits into from
Jan 25, 2024
Merged

Swagger configuration #22

merged 3 commits into from
Jan 25, 2024

Conversation

dukris
Copy link
Collaborator

@dukris dukris commented Jan 25, 2024

Closes #21


PR-Codex overview

Focus of the PR:

This PR focuses on adding authentication and authorization using OAuth2 and configuring OpenAPI for Swagger documentation.

Detailed summary:

  • Added WebConfig.java to configure OAuth2 authentication and authorization.
  • Added openApi() method in WebConfig.java to configure OpenAPI for Swagger documentation.
  • Modified application.yaml to include APP_TITLE and APP_VERSION properties.
  • Added springdoc-openapi-starter-webmvc-ui dependency in pom.xml for Swagger UI.
  • Updated the banner.txt file with the application title, version, and Spring Boot version.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

codecov bot commented Jan 25, 2024

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (ebc419c) 28.34% compared to head (08f2a62) 24.32%.

Files Patch % Lines
...main/java/git/tracehub/pmo/security/WebConfig.java 0.00% 23 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master      #22      +/-   ##
============================================
- Coverage     28.34%   24.32%   -4.03%     
  Complexity       23       23              
============================================
  Files            15       15              
  Lines           127      148      +21     
  Branches          4        4              
============================================
  Hits             36       36              
- Misses           90      111      +21     
  Partials          1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dukris dukris merged commit 1b45e1b into master Jan 25, 2024
6 of 8 checks passed
@dukris dukris deleted the 21 branch January 25, 2024 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up Swagger
1 participant