0.1.0 • Published 2 months ago

@impart-security/spec-linter v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 months ago

spec-linter

Lint a specification against a set of security-oriented rules.

Example usage

import { specLinter } from "@impart-security/spec-linter";

const spec = {
  openapi: "3.0.0",
  info: {
    title: "Test",
    version: "1.0.0",
  },
  paths: {
    "/test": {
      get: {
        responses: {
          "200": {
            description: "OK",
          },
        },
      },
    },
  },
};

const { results, output } = await specLinter(spec);

console.log(results);
console.log(output);
0.1.0

2 months ago

0.0.11

3 months ago

0.0.10

4 months ago

0.0.9

5 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago