William Cheng e2c458b9ea
Prepare 7.10.0 (#19809)
* Revert "prepare 7.9.0 release (#19808)"

This reverts commit 4145000dfebe7a9edea4555c8515383da7602458.

* prepare 7.10.0 snapshot

* update doc

* update samples
2024-10-08 11:21:54 +08:00
..
2024-10-08 11:21:54 +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":...
. . .