jmlue42 / spectral-jsonapi-ruleset

A Stoplight/Spectral linting ruleset for the JSON:API specification.
MIT License
12 stars 8 forks source link

API-59 Errors.ErrorObjects #46

Closed ezenity closed 10 months ago

ezenity commented 11 months ago

feat: Add Spectral rules and tests for JSON:API error objects

This introduces a new set of Spectral rules specifically tailored for validating JSON:API error object structures within OpenAPI documents. Key highlights include:

These additions significantly improve our capability to automatically validate and ensure the consistency of API responses with the JSON:API standard.