├── postgreconfig.txt ├── script.sql └── snippet.txt /postgreconfig.txt: -------------------------------------------------------------------------------- 1 | spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.PostgreSQLDialect 2 | spring.jpa.hibernate.ddl-auto=update 3 | spring.jpa.hibernate.show-sql=true 4 | spring.datasource.url=jdbc:postgresql://localhost:5432/Northwind 5 | spring.datasource.username=postgres 6 | spring.datasource.password=test 7 | spring.jpa.properties.javax.persistence.validation.mode = none -------------------------------------------------------------------------------- /snippet.txt: -------------------------------------------------------------------------------- 1 | @Bean 2 | public Docket productApi() { 3 | return new Docket(DocumentationType.SWAGGER_2).select() 4 | .apis(RequestHandlerSelectors.basePackage("com.example.camp")).build(); 5 | } --------------------------------------------------------------------------------