-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.12 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "@api-common/spectral-api-authorization-ruleset",
"version": "0.1.0",
"description": "A curated, owned, grounded Spectral ruleset for the API Authorization Profile — lint your OpenAPI and OAuth Authorization Server metadata against OAuth 2.1 / FAPI 2.0 at two tiers (normal/high). An API Commons tool.",
"type": "module",
"license": "Apache-2.0",
"author": "API Evangelist (https://apievangelist.com)",
"homepage": "https://apicommons.org/api-authorization",
"repository": {
"type": "git",
"url": "git+https://github.com/api-commons/spectral-api-authorization-ruleset.git"
},
"bugs": {
"url": "https://github.com/api-commons/spectral-api-authorization-ruleset/issues"
},
"keywords": [
"spectral",
"oauth",
"fapi",
"api-authorization",
"api-security",
"dpop",
"ruleset",
"governance",
"openapi",
"oauth-metadata",
"linting",
"api-commons"
],
"main": "api-authorization-openapi.yaml",
"exports": {
"./openapi": "./api-authorization-openapi.yaml",
"./oauth-metadata": "./api-authorization-oauth-metadata.yaml"
},
"files": [
"api-authorization-openapi.yaml",
"api-authorization-oauth-metadata.yaml",
"fixtures/openapi-clean.yaml",
"fixtures/openapi-noncompliant.yaml",
"fixtures/oauth-metadata-clean.json",
"fixtures/oauth-metadata-noncompliant.json",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18"
},
"scripts": {
"lint:openapi:clean": "spectral lint fixtures/openapi-clean.yaml -r api-authorization-openapi.yaml -f json",
"lint:openapi:bad": "spectral lint fixtures/openapi-noncompliant.yaml -r api-authorization-openapi.yaml -f json",
"lint:meta:clean": "spectral lint fixtures/oauth-metadata-clean.json -r api-authorization-oauth-metadata.yaml -f json",
"lint:meta:bad": "spectral lint fixtures/oauth-metadata-noncompliant.json -r api-authorization-oauth-metadata.yaml -f json",
"test": "node scripts/test-ruleset.mjs"
},
"devDependencies": {
"@stoplight/spectral-cli": "^6.11.1"
},
"publishConfig": {
"access": "public"
},
"scarfSettings": {
"enabled": false
}
}