Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

jmlue42/spectral-jsonapi-ruleset

Repository files navigation

spectral-jsonapi-ruleset

Node.js CI CodeQL

A Stoplight/Spectral linting ruleset for the JSON:API specification v1.0.

Installation

For ways to integrate this ruleset into your Spectral linting suite. See Sharing & Distributing Rulesets at https://meta.stoplight.io/

Organization

.spectral.yml - Spectral Ruleset

The ruleset extends - spectral:oas, spectral's built-in OAS linting rules.

The rules are generally organized by the JSON:API specification section the rule is mentioned in. Each rule notes the section url it realates to.

examples folder contains valid and invalid OAS3.1 examples

Contributing

In lieu of a formal style guide (I know... ironic 😁):

  • Take care to maintain the existing coding format.
  • Make needed adjustments to valid example
  • Verify all linting PASS: npm test

License

MIT License

About

A Stoplight/Spectral linting ruleset for the JSON:API specification.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.