func Pages.ApiV1()
{
    var html = <null>
        <h1>Api V1</h1>
        
        <each(var r : apiv1_routes)>
            <fieldset>
               
                <legend>{r.method} {r.route}</legend>
                
                <h6>Query Parameters</h6>
                <each(var qp : r.queryParams)>
                    <div>{qp.name} ({qp.type}): {qp.description}</div>
                </each>

                <h6>Description</h6>

                <plink(r.description)>
               
                
            </fieldset>
        </each>
    </null>;
    return Components.Shell("Api V1",html,4);
}

var apiv1_routes = Json.Decode(embed("apiv1_routes.json").ToString());
