orangy
get(”/api/pets”) {
specification {
summary = "Everything about your Pets”
doc = "List pets ordered by name.”
consumes = ContentType.Application.Json
… etc …
}
}
It would use Route.attributes
to store specification object when built.