skooma 0.3.6 → 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 +10 -1
- data/data/oas-3.1/dialect/2025-09-17.json +26 -0
- data/data/oas-3.1/meta/2025-09-17.json +114 -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-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/openapi/keywords/openapi.rb +10 -5
- data/lib/skooma/version.rb +1 -1
- metadata +7 -1
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,13 @@ 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
|
+
|
|
10
17
|
## [0.3.6] - 2025-09-04
|
|
11
18
|
|
|
12
19
|
### Added
|
|
@@ -168,6 +175,7 @@ and this project adheres to [Semantic Versioning].
|
|
|
168
175
|
- Initial implementation. ([@skryukov])
|
|
169
176
|
|
|
170
177
|
[@aburgel]: https://github.com/aburgel
|
|
178
|
+
[@alexkalderimis]: https://github.com/alexkalderimis
|
|
171
179
|
[@barnaclebarnes]: https://github.com/barnaclebarnes
|
|
172
180
|
[@Envek]: https://github.com/Envek
|
|
173
181
|
[@goodtouch]: https://github.com/goodtouch
|
|
@@ -177,7 +185,8 @@ and this project adheres to [Semantic Versioning].
|
|
|
177
185
|
[@skryukov]: https://github.com/skryukov
|
|
178
186
|
[@ursm]: https://github.com/ursm
|
|
179
187
|
|
|
180
|
-
[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
|
|
181
190
|
[0.3.6]: https://github.com/skryukov/skooma/compare/v0.3.5...v0.3.6
|
|
182
191
|
[0.3.5]: https://github.com/skryukov/skooma/compare/v0.3.4...v0.3.5
|
|
183
192
|
[0.3.4]: https://github.com/skryukov/skooma/compare/v0.3.3...v0.3.4
|
|
@@ -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,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
|
+
}
|