Menu

how to track api schema changes over time without juggling manual diffs
📰

how to track api schema changes over time without juggling manual diffs

DEV Community·Maximus Beato·6 months ago
#16ivX9Ka
#api#webdev#devtools#schema#schemas
Reading 0:00
15s threshold

the problem

managing multiple api versions means keeping track of structural changes can get messy fast. manually comparing schemas is tedious, error-prone, and slows down development.

the solution

auto-fetch multiple schema versions and compare them easily. api-schema-delta does this by pulling schemas from your public endpoints and highlighting differences.

curl -X GET https://api-schema-delta.apimesh.xyz/check?endpoints=https://api.example.com/v1/schema,https://api.example.com/v2/schema { "schemas": [ { "version": "v1", "diffs": ["added field 'age'", "removed field 'nickname'"] }, { "version": "v2", "diffs": ["new field 'dateOfBirth'", "changed 'name' to 'fullName'"] } ], "trend": "schema evolving as expected" }

Enter fullscreen mode

Exit fullscreen mode

how it works

it fetches schemas from provided endpoints, parses their structure, and compares them to identify differences.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.