mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-25 11:00:52 +00:00
* Revert "v7.13.0 release (#21157)" This reverts commit 4b805ff6b7ac5bd2557555810357569fe2677311. * prepare v7.14.0 release * update samples
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":...
. . .