skooma 0.3.5 → 0.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -1
- data/data/oas-3.1/dialect/2024-11-10.json +93 -0
- data/data/oas-3.1/dialect/2025-09-17.json +26 -0
- data/data/oas-3.1/meta/2024-11-10.json +92 -0
- data/data/oas-3.1/meta/2025-09-17.json +114 -0
- data/data/oas-3.1/schema/2025-02-13.json +1408 -0
- data/data/oas-3.1/schema/2025-09-15.json +1411 -0
- data/data/oas-3.1/schema/2025-09-17.json +1666 -0
- data/data/oas-3.1/schema-base/2025-02-13.json +25 -0
- data/data/oas-3.1/schema-base/2025-09-15.json +25 -0
- data/data/oas-3.1/schema-base/2025-09-17.json +25 -0
- data/lib/skooma/env_mapper.rb +1 -0
- data/lib/skooma/matchers/conform_response_schema.rb +10 -0
- data/lib/skooma/objects/components.rb +2 -2
- data/lib/skooma/objects/openapi/keywords/openapi.rb +11 -1
- data/lib/skooma/version.rb +1 -1
- metadata +12 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fecb68dcc8ec00b3d4d02cbf7bc69ff0f46888aaa58c9523ac2e79e24cdb4369
|
|
4
|
+
data.tar.gz: 2aa7775d50ef867250bf813cc75448f448fe7f5c3155df40c9d95188b2c2aa31
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 031e66d37e92ba1d7f1a6718c0cb25a583954801d652be168f4f2a2ee88da1e485fc6e383304fd6c06c21f554c3dd74422434799dada26069f3e6f2e49b0f82f
|
|
7
|
+
data.tar.gz: e1127d8c82909c211d78da473de6f8abc1c8e1d8a98a9a4002345283c4c35142a18f93899ef3820059bc1d54285bbc03b1b823fcd1de6eb29d606bdd17816fa7
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning].
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.7] - 2025-10-31
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add support for symbolic response codes. ([@alexkalderimis])
|
|
15
|
+
- Add OpenAPI 3.1.2 & 3.2.0 schemas to enable schema validation. ([@skryukov])
|
|
16
|
+
|
|
17
|
+
## [0.3.6] - 2025-09-04
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Add OpenAPI 3.1.1 schemas to enable schema validation. ([@Envek])
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Fix examples and callbacks support in Components. ([@goodtouch])
|
|
26
|
+
|
|
10
27
|
## [0.3.5] - 2025-07-31
|
|
11
28
|
|
|
12
29
|
### Fixed
|
|
@@ -158,14 +175,19 @@ and this project adheres to [Semantic Versioning].
|
|
|
158
175
|
- Initial implementation. ([@skryukov])
|
|
159
176
|
|
|
160
177
|
[@aburgel]: https://github.com/aburgel
|
|
178
|
+
[@alexkalderimis]: https://github.com/alexkalderimis
|
|
161
179
|
[@barnaclebarnes]: https://github.com/barnaclebarnes
|
|
180
|
+
[@Envek]: https://github.com/Envek
|
|
181
|
+
[@goodtouch]: https://github.com/goodtouch
|
|
162
182
|
[@jandouwebeekman]: https://github.com/jandouwebeekman
|
|
163
183
|
[@pvcarrera]: https://github.com/pvcarrera
|
|
164
184
|
[@skarlcf]: https://github.com/skarlcf
|
|
165
185
|
[@skryukov]: https://github.com/skryukov
|
|
166
186
|
[@ursm]: https://github.com/ursm
|
|
167
187
|
|
|
168
|
-
[Unreleased]: https://github.com/skryukov/skooma/compare/v0.3.
|
|
188
|
+
[Unreleased]: https://github.com/skryukov/skooma/compare/v0.3.7...HEAD
|
|
189
|
+
[0.3.7]: https://github.com/skryukov/skooma/compare/v0.3.6...v0.3.7
|
|
190
|
+
[0.3.6]: https://github.com/skryukov/skooma/compare/v0.3.5...v0.3.6
|
|
169
191
|
[0.3.5]: https://github.com/skryukov/skooma/compare/v0.3.4...v0.3.5
|
|
170
192
|
[0.3.4]: https://github.com/skryukov/skooma/compare/v0.3.3...v0.3.4
|
|
171
193
|
[0.3.3]: https://github.com/skryukov/skooma/compare/v0.3.2...v0.3.3
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://spec.openapis.org/oas/3.1/meta/2024-11-10",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"title": "OAS Base Vocabulary",
|
|
5
|
+
"description": "A JSON Schema Vocabulary used in the OpenAPI Schema Dialect",
|
|
6
|
+
"$dynamicAnchor": "meta",
|
|
7
|
+
"$vocabulary": {
|
|
8
|
+
"https://spec.openapis.org/oas/3.1/vocab/base": true
|
|
9
|
+
},
|
|
10
|
+
"type": [
|
|
11
|
+
"object",
|
|
12
|
+
"boolean"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"discriminator": {
|
|
16
|
+
"$ref": "#/$defs/discriminator"
|
|
17
|
+
},
|
|
18
|
+
"example": true,
|
|
19
|
+
"externalDocs": {
|
|
20
|
+
"$ref": "#/$defs/external-docs"
|
|
21
|
+
},
|
|
22
|
+
"xml": {
|
|
23
|
+
"$ref": "#/$defs/xml"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"$defs": {
|
|
27
|
+
"discriminator": {
|
|
28
|
+
"$ref": "#/$defs/extensible",
|
|
29
|
+
"properties": {
|
|
30
|
+
"mapping": {
|
|
31
|
+
"additionalProperties": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"type": "object"
|
|
35
|
+
},
|
|
36
|
+
"propertyName": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"propertyName"
|
|
42
|
+
],
|
|
43
|
+
"type": "object",
|
|
44
|
+
"unevaluatedProperties": false
|
|
45
|
+
},
|
|
46
|
+
"extensible": {
|
|
47
|
+
"patternProperties": {
|
|
48
|
+
"^x-": true
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"external-docs": {
|
|
52
|
+
"$ref": "#/$defs/extensible",
|
|
53
|
+
"properties": {
|
|
54
|
+
"description": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"url": {
|
|
58
|
+
"format": "uri-reference",
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"url"
|
|
64
|
+
],
|
|
65
|
+
"type": "object",
|
|
66
|
+
"unevaluatedProperties": false
|
|
67
|
+
},
|
|
68
|
+
"xml": {
|
|
69
|
+
"$ref": "#/$defs/extensible",
|
|
70
|
+
"properties": {
|
|
71
|
+
"attribute": {
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
74
|
+
"name": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"namespace": {
|
|
78
|
+
"format": "uri",
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"prefix": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"wrapped": {
|
|
85
|
+
"type": "boolean"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"type": "object",
|
|
89
|
+
"unevaluatedProperties": false
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://spec.openapis.org/oas/3.2/dialect/2025-09-17",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"title": "OpenAPI 3.2 Schema Object Dialect",
|
|
5
|
+
"description": "A JSON Schema dialect describing schemas found in OpenAPI v3.2.x Descriptions",
|
|
6
|
+
"$dynamicAnchor": "meta",
|
|
7
|
+
"$vocabulary": {
|
|
8
|
+
"https://json-schema.org/draft/2020-12/vocab/applicator": true,
|
|
9
|
+
"https://json-schema.org/draft/2020-12/vocab/content": true,
|
|
10
|
+
"https://json-schema.org/draft/2020-12/vocab/core": true,
|
|
11
|
+
"https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
|
|
12
|
+
"https://json-schema.org/draft/2020-12/vocab/meta-data": true,
|
|
13
|
+
"https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
|
|
14
|
+
"https://json-schema.org/draft/2020-12/vocab/validation": true,
|
|
15
|
+
"https://spec.openapis.org/oas/3.2/vocab/base": false
|
|
16
|
+
},
|
|
17
|
+
"allOf": [
|
|
18
|
+
{
|
|
19
|
+
"$ref": "https://json-schema.org/draft/2020-12/schema"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"$ref": "https://spec.openapis.org/oas/3.2/meta/2025-09-17"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://spec.openapis.org/oas/3.1/meta/2024-11-10",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"title": "OAS Base Vocabulary",
|
|
5
|
+
"description": "A JSON Schema Vocabulary used in the OpenAPI Schema Dialect",
|
|
6
|
+
"$dynamicAnchor": "meta",
|
|
7
|
+
"$vocabulary": {
|
|
8
|
+
"https://spec.openapis.org/oas/3.1/vocab/base": true
|
|
9
|
+
},
|
|
10
|
+
"type": [
|
|
11
|
+
"object",
|
|
12
|
+
"boolean"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"discriminator": {
|
|
16
|
+
"$ref": "#/$defs/discriminator"
|
|
17
|
+
},
|
|
18
|
+
"example": true,
|
|
19
|
+
"externalDocs": {
|
|
20
|
+
"$ref": "#/$defs/external-docs"
|
|
21
|
+
},
|
|
22
|
+
"xml": {
|
|
23
|
+
"$ref": "#/$defs/xml"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"$defs": {
|
|
27
|
+
"discriminator": {
|
|
28
|
+
"$ref": "#/$defs/extensible",
|
|
29
|
+
"properties": {
|
|
30
|
+
"mapping": {
|
|
31
|
+
"additionalProperties": {
|
|
32
|
+
"type": "string"
|
|
33
|
+
},
|
|
34
|
+
"type": "object"
|
|
35
|
+
},
|
|
36
|
+
"propertyName": {
|
|
37
|
+
"type": "string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"propertyName"
|
|
42
|
+
],
|
|
43
|
+
"type": "object",
|
|
44
|
+
"unevaluatedProperties": false
|
|
45
|
+
},
|
|
46
|
+
"extensible": {
|
|
47
|
+
"patternProperties": {
|
|
48
|
+
"^x-": true
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"external-docs": {
|
|
52
|
+
"$ref": "#/$defs/extensible",
|
|
53
|
+
"properties": {
|
|
54
|
+
"description": {
|
|
55
|
+
"type": "string"
|
|
56
|
+
},
|
|
57
|
+
"url": {
|
|
58
|
+
"format": "uri-reference",
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"url"
|
|
64
|
+
],
|
|
65
|
+
"type": "object",
|
|
66
|
+
"unevaluatedProperties": false
|
|
67
|
+
},
|
|
68
|
+
"xml": {
|
|
69
|
+
"$ref": "#/$defs/extensible",
|
|
70
|
+
"properties": {
|
|
71
|
+
"attribute": {
|
|
72
|
+
"type": "boolean"
|
|
73
|
+
},
|
|
74
|
+
"name": {
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
"namespace": {
|
|
78
|
+
"format": "uri",
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"prefix": {
|
|
82
|
+
"type": "string"
|
|
83
|
+
},
|
|
84
|
+
"wrapped": {
|
|
85
|
+
"type": "boolean"
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"type": "object",
|
|
89
|
+
"unevaluatedProperties": false
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "https://spec.openapis.org/oas/3.2/meta/2025-09-17",
|
|
3
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
4
|
+
"title": "OAS Base Vocabulary",
|
|
5
|
+
"description": "A JSON Schema Vocabulary used in the OpenAPI JSON Schema Dialect",
|
|
6
|
+
"$dynamicAnchor": "meta",
|
|
7
|
+
"$vocabulary": {
|
|
8
|
+
"https://spec.openapis.org/oas/3.2/vocab/base": true
|
|
9
|
+
},
|
|
10
|
+
"type": [
|
|
11
|
+
"object",
|
|
12
|
+
"boolean"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"discriminator": {
|
|
16
|
+
"$ref": "#/$defs/discriminator"
|
|
17
|
+
},
|
|
18
|
+
"example": {
|
|
19
|
+
"deprecated": true
|
|
20
|
+
},
|
|
21
|
+
"externalDocs": {
|
|
22
|
+
"$ref": "#/$defs/external-docs"
|
|
23
|
+
},
|
|
24
|
+
"xml": {
|
|
25
|
+
"$ref": "#/$defs/xml"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"$defs": {
|
|
29
|
+
"discriminator": {
|
|
30
|
+
"$ref": "#/$defs/extensible",
|
|
31
|
+
"properties": {
|
|
32
|
+
"mapping": {
|
|
33
|
+
"additionalProperties": {
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
"type": "object"
|
|
37
|
+
},
|
|
38
|
+
"defaultMapping": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"propertyName": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"type": "object",
|
|
46
|
+
"unevaluatedProperties": false
|
|
47
|
+
},
|
|
48
|
+
"extensible": {
|
|
49
|
+
"patternProperties": {
|
|
50
|
+
"^x-": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"external-docs": {
|
|
54
|
+
"$ref": "#/$defs/extensible",
|
|
55
|
+
"properties": {
|
|
56
|
+
"description": {
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
"url": {
|
|
60
|
+
"format": "uri-reference",
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"required": [
|
|
65
|
+
"url"
|
|
66
|
+
],
|
|
67
|
+
"type": "object",
|
|
68
|
+
"unevaluatedProperties": false
|
|
69
|
+
},
|
|
70
|
+
"xml": {
|
|
71
|
+
"$ref": "#/$defs/extensible",
|
|
72
|
+
"properties": {
|
|
73
|
+
"nodeType": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"element",
|
|
77
|
+
"attribute",
|
|
78
|
+
"text",
|
|
79
|
+
"cdata",
|
|
80
|
+
"none"
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
"name": {
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
"namespace": {
|
|
87
|
+
"format": "iri",
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"prefix": {
|
|
91
|
+
"type": "string"
|
|
92
|
+
},
|
|
93
|
+
"attribute": {
|
|
94
|
+
"type": "boolean",
|
|
95
|
+
"deprecated": true
|
|
96
|
+
},
|
|
97
|
+
"wrapped": {
|
|
98
|
+
"type": "boolean",
|
|
99
|
+
"deprecated": true
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"type": "object",
|
|
103
|
+
"dependentSchemas": {
|
|
104
|
+
"nodeType": {
|
|
105
|
+
"properties": {
|
|
106
|
+
"attribute": false,
|
|
107
|
+
"wrapped": false
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"unevaluatedProperties": false
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|