Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/humbertodias/spring-boot-rest-with-http2
Spring-Boot with REST over HTTP2
https://github.com/humbertodias/spring-boot-rest-with-http2
amadeus-api http2 spring-boot undertow
Last synced: 5 days ago
JSON representation
Spring-Boot with REST over HTTP2
- Host: GitHub
- URL: https://github.com/humbertodias/spring-boot-rest-with-http2
- Owner: humbertodias
- Created: 2018-03-02T16:55:13.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-02-07T02:11:09.000Z (10 months ago)
- Last Synced: 2024-02-07T03:22:35.377Z (10 months ago)
- Topics: amadeus-api, http2, spring-boot, undertow
- Language: Shell
- Homepage:
- Size: 186 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Build, Test](https://github.com/humbertodias/spring-boot-rest-with-http2/actions/workflows/build.yml/badge.svg)](https://github.com/humbertodias/spring-boot-rest-with-http2/actions/workflows/build.yml)
# SpringBoot/HTTP2
Spring-Boot with REST using Undertow over HTTP2
# Requisites
1. [Java](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) 8+
2. [Maven](https://maven.apache.org/download.cgi) 3+# Play
```shell
mvn spring-boot:run
```or
```shell
mvn clean build
java -jar target/spring-boot-rest-with-http2-0.0.1-SNAPSHOT.jar
```# Access
https://localhost:8443/swagger-ui.html
![](doc/swagger-amadeus.png)
# Optionals
HTTP 1.1
```shell
mvn spring-boot:run -Dserver.ssl.enabled=false -Dserver.http2.enabled=false
```Server Port
```shell
mvn spring-boot:run -Dserver.port=9090
```# Mappings
https://localhost:8443/actuator/mappings
https://localhost:8443/swagger-resources
# References
* [HTTP2 Configuration](http://www.baeldung.com/spring-boot-application-configuration)
* [Undertow from JBOSS](http://undertow.io)
* [Swagger Configuration](http://www.baeldung.com/swagger-2-documentation-for-spring-rest-api)
* [Certificate SSL](https://www.thomasvitale.com/https-spring-boot-ssl-certificate)
* [Swagger Codegen](https://github.com/swagger-api/swagger-codegen)
* [Swagger Codegen with Maven](https://www.clianz.com/2016/05/29/java-mvc-swagger-gen/)
* [OpenAPI documentation](https://www.baeldung.com/spring-rest-openapi-documentation)
* [SpringDoc](https://springdoc.org/springdoc-properties.html)