@voyant-travel/openapi 0.2.3 → 0.2.4
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.
- package/package.json +3 -3
- package/spec/framework-admin.json +26 -0
- package/spec/framework-openapi.json +26 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyant-travel/openapi",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Generated OpenAPI 3.1 specification for the Voyant framework's standard API surface (admin + storefront).",
|
|
6
6
|
"repository": {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"@types/node": "^25.5.2",
|
|
26
26
|
"typescript": "^6.0.3",
|
|
27
27
|
"vitest": "^4.1.9",
|
|
28
|
-
"@voyant-travel/framework": "^0.9.
|
|
29
|
-
"@voyant-travel/hono": "^0.118.
|
|
28
|
+
"@voyant-travel/framework": "^0.9.32",
|
|
29
|
+
"@voyant-travel/hono": "^0.118.3",
|
|
30
30
|
"@voyant-travel/voyant-typescript-config": "^0.1.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
@@ -142991,6 +142991,24 @@
|
|
|
142991
142991
|
}
|
|
142992
142992
|
}
|
|
142993
142993
|
},
|
|
142994
|
+
"400": {
|
|
142995
|
+
"description": "Only image media can be set as cover",
|
|
142996
|
+
"content": {
|
|
142997
|
+
"application/json": {
|
|
142998
|
+
"schema": {
|
|
142999
|
+
"type": "object",
|
|
143000
|
+
"properties": {
|
|
143001
|
+
"error": {
|
|
143002
|
+
"type": "string"
|
|
143003
|
+
}
|
|
143004
|
+
},
|
|
143005
|
+
"required": [
|
|
143006
|
+
"error"
|
|
143007
|
+
]
|
|
143008
|
+
}
|
|
143009
|
+
}
|
|
143010
|
+
}
|
|
143011
|
+
},
|
|
142994
143012
|
"404": {
|
|
142995
143013
|
"description": "Media not found",
|
|
142996
143014
|
"content": {
|
|
@@ -214911,6 +214929,14 @@
|
|
|
214911
214929
|
"name": "offset",
|
|
214912
214930
|
"in": "query"
|
|
214913
214931
|
},
|
|
214932
|
+
{
|
|
214933
|
+
"schema": {
|
|
214934
|
+
"type": "string"
|
|
214935
|
+
},
|
|
214936
|
+
"required": false,
|
|
214937
|
+
"name": "policyId",
|
|
214938
|
+
"in": "query"
|
|
214939
|
+
},
|
|
214914
214940
|
{
|
|
214915
214941
|
"schema": {
|
|
214916
214942
|
"type": "string"
|
|
@@ -143637,6 +143637,24 @@
|
|
|
143637
143637
|
}
|
|
143638
143638
|
}
|
|
143639
143639
|
},
|
|
143640
|
+
"400": {
|
|
143641
|
+
"description": "Only image media can be set as cover",
|
|
143642
|
+
"content": {
|
|
143643
|
+
"application/json": {
|
|
143644
|
+
"schema": {
|
|
143645
|
+
"type": "object",
|
|
143646
|
+
"properties": {
|
|
143647
|
+
"error": {
|
|
143648
|
+
"type": "string"
|
|
143649
|
+
}
|
|
143650
|
+
},
|
|
143651
|
+
"required": [
|
|
143652
|
+
"error"
|
|
143653
|
+
]
|
|
143654
|
+
}
|
|
143655
|
+
}
|
|
143656
|
+
}
|
|
143657
|
+
},
|
|
143640
143658
|
"404": {
|
|
143641
143659
|
"description": "Media not found",
|
|
143642
143660
|
"content": {
|
|
@@ -229488,6 +229506,14 @@
|
|
|
229488
229506
|
"name": "offset",
|
|
229489
229507
|
"in": "query"
|
|
229490
229508
|
},
|
|
229509
|
+
{
|
|
229510
|
+
"schema": {
|
|
229511
|
+
"type": "string"
|
|
229512
|
+
},
|
|
229513
|
+
"required": false,
|
|
229514
|
+
"name": "policyId",
|
|
229515
|
+
"in": "query"
|
|
229516
|
+
},
|
|
229491
229517
|
{
|
|
229492
229518
|
"schema": {
|
|
229493
229519
|
"type": "string"
|