So that the api library is completely decoupled from the idea of audit congress. It only needs to take in a schema to know what to do with routes.
Ideally this includes a new \API\Schema, \API\RouteGroupSchema, \API\RouteSchema, which can be built up from a JSON schema file and passed to an \API\Runner.
This way, the API code is entirely separated from audit congress, and simply needs to know the schema for how things work.
So that the
api
library is completely decoupled from the idea of audit congress. It only needs to take in a schema to know what to do with routes.Ideally this includes a new
\API\Schema
,\API\RouteGroupSchema
,\API\RouteSchema
, which can be built up from a JSON schema file and passed to an\API\Runner
.This way, the API code is entirely separated from audit congress, and simply needs to know the schema for how things work.