Skip to content

Commit

Permalink
fix: change swagger ui endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
izaiasmachado committed Mar 2, 2024
1 parent 61c1dc7 commit 2694b56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@
)

public class OpenApiConfig {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public class SecurityConfiguration {
"/",
"/auth/login",
"/auth/register",
"/docs**",
"/swagger-ui/**",
"/v3/api-docs/**",
};
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ spring.datasource.password=${MANDACARU_POSTGRES_PASSWORD}
spring.sql.init.mode=${MANDACARU_SQL_INIT_MODE:never}
spring.datasource.driver-class-name=org.postgresql.Driver
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
springdoc.swagger-ui.path=/docs

0 comments on commit 2694b56

Please sign in to comment.