Skip to content

Commit

Permalink
Configuracao swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielaalvescosta committed Nov 24, 2023
1 parent 4ce0d6b commit a3e0fb6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.info.License;
import io.swagger.v3.oas.models.security.SecurityScheme;

@Configuration
public class SwaggerConfig {
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# nome da aplicação
spring.application.name=med-control
logging.level.org.springframework=INFO
logging.level.org.springframework.web=DEBUG
server.servlet.context-path=/medcontrol

# DATASOURCE
spring.datasource.url=jdbc:sqlserver://sqlserver-fiap.database.windows.net:1433;database=med-control-database;user=admuser@sqlserver-fiap;password={your_password_here};encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
@SpringBootTest
class MedcontrolApplicationTests {

// @Test
// void contextLoads() {
// }
@Test
void contextLoads() {
}

}

0 comments on commit a3e0fb6

Please sign in to comment.