Unispec Docs
ApiRegistryValidation

Diff draft against a published version

GET
/projects/{owner}/{project}/diff

Path Parameters

owner*string
project*string

Query Parameters

against?string

Published version number to compare against (e.g. 1.0.0). Defaults to the latest published version.

Response Body

application/json

application/json

curl -X GET "https://example.com/projects/string/string/diff"
{  "diff": {    "issues": [      {        "code": "string",        "message": "string",        "path": "string",        "change_type": "breaking"      }    ]  }}
{  "error": {    "code": "string",    "message": "string"  }}