Custom GH API endpoints with Spring Boot
Clone this repository!
Update the application.properties
file with your GitHub API token.
server.port=8080
github.token=ghp_xxx
...
# generate openapi files
openapi-generator-cli generate -i openapi.yml -g spring -o var/tmp/spring-client
# clean install
mvn clean install
# run the application
mvn spring-boot:run
access via: http://localhost:8080/swagger-ui.html