Skip to content

jodevan/spring-boot-springfox-custom-json-at-swagger-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Springfox custom json at swagger-ui

This microservice manages the cars data

Configuration

  • Install Lombok to erase repetitive code. This is mostly for the IDE.
  • Configure PostgreSQL database:
    • Install PostgreSQL: sudo apt-get install postgresql postgresql-contrib
    • Create database: sudo -u postgres createdb <dbname>
    • Create user: sudo -u postgres createuser <username>
    • Access to postgres: sudo -u postgres psql
    • Giving the user a password: alter user <username> with encrypted password '<password>';
    • Granting privileges on database: grant all privileges on database <dbname> to <username>;
  • To use the liquibase maven plugin, you have to
    • At src/main/resources/liquibase/liquibase.properties change DATABASE_NAME, DATABASE_USER, DATABASE_PASSWORD with properly values

Run the microservice

About

Spring Boot - Swagger - Springfox - Change default json loaded on swagger-ui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 34.2%
  • Java 27.8%
  • Shell 21.4%
  • Batchfile 16.6%