Micronaut Sample

This is a very simple Micronaut (gradle) project that is using

The purpose of the sample is to show the setup of the gradle plugin and the processors.

Running with gradle

Clone the project from GitHub, navigate into the project root folder samples/micronaut and run

 ../../gradlew bootRun

to start the sample application.

Sample Endpoints

the sample has a few simple endpoints described with OpenAPI in src/api.

ping

curl http://localhost:8080/ping

echo

curl http://localhost:8080/echo?source=foo