From 18d67e16348f3401a694a5a8d46af79610fadf49 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 16 Feb 2022 16:59:59 -0600 Subject: added definitions to apps; appended definitions to generated docs --- example/lazybones-example-docs.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'example/lazybones-example-docs.md') diff --git a/example/lazybones-example-docs.md b/example/lazybones-example-docs.md index 281b98c..a7dfca9 100644 --- a/example/lazybones-example-docs.md +++ b/example/lazybones-example-docs.md @@ -59,7 +59,7 @@ Route Variables: - PERSON: ID of a person -Returns a json representation of the person. +Returns a json representation of the [Person](#person). ### GET /random/:lo:/:hi: *text/plain* @@ -81,4 +81,19 @@ Documented Query Parameters: - age: An Integer -Echo the search parameters in a nice list. \ No newline at end of file +Echo the search parameters in a nice list. + +## Definitions + +

Person

+ +An instance of person. As JSON, it looks like: + + { + "NAME" : string , + "OCCUPATION" : string , + "ID" : integer + } + + + -- cgit v1.2.3