Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
src/main
README.md

README.md

Documented Example

This example demonstrates how to write the description of an HTTP API once and then get for free both the HTTP server implementation and the OpenAPI documentation.

The application implements a counter whose value can be queried and updated. All the code lives in a single file Counter.scala.

You can see it live here: http://documented-counter.herokuapp.com. You can play with the API directly from the Swagger UI to query the counter value and change it.

You can’t perform that action at this time.