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

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

There is a newer version: 7.9.0
Show newest version
# Helidon SE 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