-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
82 lines (82 loc) · 1.8 KB
/
package.json
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "openapi-snippets",
"displayName": "OpenApi Snippets",
"description": "Provides snippets for OpenApiSpecification in VS Code",
"version": "0.0.9",
"engines": {
"vscode": "^1.44.0"
},
"categories": [
"Snippets"
],
"publisher": "proohit",
"repository": {
"type": "git",
"url": "https://github.com/proohit/openapi-snippets"
},
"extensionDependencies": [
"redhat.vscode-yaml"
],
"contributes": {
"snippets": [
{
"language": "json",
"path": "./snippets/json-snippets.json"
},
{
"language": "json",
"path": "./snippets/json-path-snippets.json"
},
{
"language": "yaml",
"path": "./snippets/yaml-snippets.json"
},
{
"language": "yaml",
"path": "./snippets/yaml-path-snippets.json"
}
],
"jsonValidation": [
{
"fileMatch": [
"/components/schemas/*.json",
"*-schema.json"
],
"url": "./schemas/schemaObject.json"
},
{
"fileMatch": [
"/paths/*.json",
"*-path.json"
],
"url": "./schemas/pathObject.json"
}
],
"yamlValidation": [
{
"fileMatch": "components/schemas/*.yaml",
"url": "./schemas/schemaObject.json"
},
{
"fileMatch": "*-schema.yaml",
"url": "./schemas/schemaObject.json"
},
{
"fileMatch": "paths/*.yaml",
"url": "./schemas/pathObject.json"
},
{
"fileMatch": "components/schemas/*.yml",
"url": "./schemas/schemaObject.json"
},
{
"fileMatch": "*-schema.yml",
"url": "./schemas/schemaObject.json"
},
{
"fileMatch": "paths/*.yml",
"url": "./schemas/pathObject.json"
}
]
}
}