Skip to content
Registry StackDocsv0.20.1

evidencectl source mock serve command reference

View as Markdown

Serve schema-valid synthetic responses from OpenAPI or exact edited cases.

This page is generated from the public Clap command tree. Hidden implementation commands are omitted.

evidencectl source mock serve [OPTIONS]
OptionAlways requiredDefaultValuesEnvironmentDescription
--openapi <OPENAPI>Non/an/an/aOpenAPI 3.0 or 3.1 document for an ephemeral, write-free preview
--config <CONFIG>Non/an/an/aMaterialized mock configuration whose checked body bytes are authoritative
--project <PROJECT>Non/an/an/aExplicit Evidence authoring project; the current directory is used when omitted
--operation <OPERATION>Non/an/an/aNarrow ephemeral discovery to one METHOD /path/template operation
--http-addr <HTTP_ADDR>Non/an/an/aNumeric loopback listener address. Standalone mode defaults to 127.0.0.1:4010
--seed <SEED>Non/an/an/aDeterministic unsigned generation seed. Ephemeral mode defaults to zero
--as-of <AS_OF>Non/an/an/aCalendar date used only by explicit or inferred age generation
--explainNon/an/an/aExplain generator choices without printing generated or authored values
-h, --helpNon/an/an/aPrint help

Run npm run generate from docs/site after changing a public command, argument, option, default, environment binding, or help description.