contracts

Validate Contract

Validate an ODCS v3.1.0 YAML document without applying it.

Accepts the YAML as the raw request body so the CLI can pipe cat contract.yaml | curl --data-binary @- without JSON-escaping.

post/api/v1/contracts/validate

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/contracts/validate
  • Auth: none declared

Headers

Authorizationstring

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.