@sumup/sumup-api-style-guide

1.0.1 • Public • Published

SumUp REST API Style Guide

A spectral ruleset to lint your API specs against SumUp standards.

Get started

Install Spectral

npm i @stoplight/spectral-cli -g

Usage

You can specify the Ruleset directly on the command line:

spectral lint -r https://unpkg.com/@sumup/sumup-api-style-guide/dist/index.mjs <api definition file>

Or you can create a Spectral configuration file (.spectral.yaml) that references the ruleset:

extends:
  - https://unpkg.com/@sumup/sumup-api-style-guide/dist/index.mjs

Example

spectral lint -r https://unpkg.com/@sumup/sumup-api-style-guide/dist/index.mjs petstore.yaml

Readme

Keywords

none

Package Sidebar

Install

npm i @sumup/sumup-api-style-guide

Weekly Downloads

24

Version

1.0.1

License

Apache-2.0

Unpacked Size

2.79 MB

Total Files

29

Last publish

Collaborators

  • connor_baer
  • felixjung
  • appscisumup
  • cristianoliveira
  • mariela.kasovska
  • rhosum
  • miryyy
  • apetkova
  • felixlam-sumup
  • afonsodelgado
  • dmitri
  • publishingcisumup
  • sumupbot
  • matoous