All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java-helidon.server.README.mustache Maven / Gradle / Ivy

There is a newer version: 7.7.0
Show newest version
# Helidon Server with OpenAPI

## Build and run

With JDK11+
```bash
mvn package
java -jar target/{{{artifactId}}}.jar
```

## Exercise the application

```
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}curl -X {{httpMethod}} {{{basePath}}}{{{path}}}
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}}
```

## Try health and metrics

```
curl -s -X GET {{{basePath}}}/health
{"outcome":"UP",...
. . .

# Prometheus Format
curl -s -X GET {{{basePath}}}/metrics
# TYPE base:gc_g1_young_generation_count gauge
. . .

# JSON Format
curl -H 'Accept: application/json' -X GET {{{basePath}}}/metrics
{"base":...
. . .
```




© 2015 - 2024 Weber Informatics LLC | Privacy Policy