httk.serve.dsp.validation¶
Load and validate the bundled DSP and local profile schemas offline.
Exceptions¶
Report a DSP schema-validation failure. |
Functions¶
Return the cached bundled DSP OpenAPI contract and offline schema registry. |
Module Contents¶
- exception httk.serve.dsp.validation.DspSchemaError[source]¶
Bases:
ValueErrorReport a DSP schema-validation failure.
- httk.serve.dsp.validation.dsp_contract()[source]¶
Return the cached bundled DSP OpenAPI contract and offline schema registry.
- Returns:
Contract parsed exclusively from package data.
- Raises:
DspSchemaError – If any bundled schema document is invalid.
httk.serve.http.openapi.OpenAPIContractError – If the bundled OpenAPI document uses an unsupported construct.
- Return type: