William Cheng 91da2fd240
Prepare 7.9.0 snapshot (#19386)
* Revert "v7.8.0 release (#19385)"

This reverts commit 6bdc452f92d49dcac7ac21dfe8751c8cc4267b98.

* update samples for v7.9.0-snapshot
2024-08-19 16:14:51 +08:00
..
2024-08-19 16:14:51 +08:00

Helidon Server with OpenAPI

Build and run

With JDK11+

mvn package
java -jar target/format-helidon-server-mp.jar

Exercise the application

curl -X GET http://petstore.helidon.io:8080/format

Try health and metrics

curl -s -X GET http://petstore.helidon.io:8080/format/health
{"outcome":"UP",...
. . .

# Prometheus Format
curl -s -X GET http://petstore.helidon.io:8080/format/metrics
# TYPE base:gc_g1_young_generation_count gauge
. . .

# JSON Format
curl -H 'Accept: application/json' -X GET http://petstore.helidon.io:8080/format/metrics
{"base":...
. . .