skooma 0.3.6 → 0.3.8
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 +18 -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/minitest.rb +1 -1
- data/lib/skooma/objects/openapi/keywords/openapi.rb +10 -5
- data/lib/skooma/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1425cf06717c3675b02d873d78da9f50b8b652748c33a86e838be37fcb164e7b
|
|
4
|
+
data.tar.gz: 761abc98b0394bf38330010c18a8536e21cc700308e834572406d2ee2e3a02ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ffdf92bbb6d9feb0945cda5e8ff854bb883f03a3404f9ffdc753683ccebaa283f0d8c79e020fb41474b6b6ba01c1e10f4255a64b0bb635e9c16135c33b0dfdf0
|
|
7
|
+
data.tar.gz: 7c2aef17f070a2aeeb29d7b6cf3799b885f2eb0922fa27ffe671ae2aa7607df8a0f10426b95c0bd01b05e26a941a969e186568690de745340a8c121275d1bc3f
|
data/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning].
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.8] - 2026-04-16
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Minitest 6 compatibility ([@visini])
|
|
15
|
+
|
|
16
|
+
## [0.3.7] - 2025-10-31
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Add support for symbolic response codes. ([@alexkalderimis])
|
|
21
|
+
- Add OpenAPI 3.1.2 & 3.2.0 schemas to enable schema validation. ([@skryukov])
|
|
22
|
+
|
|
10
23
|
## [0.3.6] - 2025-09-04
|
|
11
24
|
|
|
12
25
|
### Added
|
|
@@ -168,6 +181,7 @@ and this project adheres to [Semantic Versioning].
|
|
|
168
181
|
- Initial implementation. ([@skryukov])
|
|
169
182
|
|
|
170
183
|
[@aburgel]: https://github.com/aburgel
|
|
184
|
+
[@alexkalderimis]: https://github.com/alexkalderimis
|
|
171
185
|
[@barnaclebarnes]: https://github.com/barnaclebarnes
|
|
172
186
|
[@Envek]: https://github.com/Envek
|
|
173
187
|
[@goodtouch]: https://github.com/goodtouch
|
|
@@ -176,8 +190,11 @@ and this project adheres to [Semantic Versioning].
|
|
|
176
190
|
[@skarlcf]: https://github.com/skarlcf
|
|
177
191
|
[@skryukov]: https://github.com/skryukov
|
|
178
192
|
[@ursm]: https://github.com/ursm
|
|
193
|
+
[@visini]: https://github.com/visini
|
|
179
194
|
|
|
180
|
-
[Unreleased]: https://github.com/skryukov/skooma/compare/v0.3.
|
|
195
|
+
[Unreleased]: https://github.com/skryukov/skooma/compare/v0.3.8...HEAD
|
|
196
|
+
[0.3.8]: https://github.com/skryukov/skooma/compare/v0.3.7...v0.3.8
|
|
197
|
+
[0.3.7]: https://github.com/skryukov/skooma/compare/v0.3.6...v0.3.7
|
|
181
198
|
[0.3.6]: https://github.com/skryukov/skooma/compare/v0.3.5...v0.3.6
|
|
182
199
|
[0.3.5]: https://github.com/skryukov/skooma/compare/v0.3.4...v0.3.5
|
|
183
200
|
[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
|
+
}
|