William Cheng 1fa07bf46c
Prepare 7.12.0 (#20512)
* Revert "v7.11.0 release (#20508)"

This reverts commit a7240eeefeedeefe7fc80ef22747dfc67e126324.

* prepare 7.12.0 snapshot version

* update samples

* update readme
2025-01-21 00:10:09 +08:00
..
2025-01-21 00:10:09 +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":...
. . .