@searchspring/snapi-oas 0.1.33 → 0.1.34
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/README.md +1 -1
- package/package.json +1 -1
- package/spec/v1/snapi.oas.v1.json +24 -18
- package/spec/v1/snapi.oas.v1.yaml +47 -26
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
},
|
|
7
7
|
"description" : "Searchspring Snap Search API",
|
|
8
8
|
"title" : "snAPI",
|
|
9
|
-
"version" : "0.1.
|
|
9
|
+
"version" : "0.1.34",
|
|
10
10
|
"x-logo" : {
|
|
11
11
|
"url" : "./images/searchspring_logo.svg",
|
|
12
12
|
"altText" : "Searchspring Snap"
|
|
@@ -3379,22 +3379,6 @@
|
|
|
3379
3379
|
"title" : "Result Core Field Mappings",
|
|
3380
3380
|
"type" : "object"
|
|
3381
3381
|
},
|
|
3382
|
-
"SearchResponseModelResultBadges" : {
|
|
3383
|
-
"description" : "List of matching badges for the result",
|
|
3384
|
-
"items" : {
|
|
3385
|
-
"properties" : {
|
|
3386
|
-
"tag" : {
|
|
3387
|
-
"type" : "string"
|
|
3388
|
-
},
|
|
3389
|
-
"value" : {
|
|
3390
|
-
"type" : "string"
|
|
3391
|
-
}
|
|
3392
|
-
},
|
|
3393
|
-
"type" : "object"
|
|
3394
|
-
},
|
|
3395
|
-
"title" : "Result Badges Array",
|
|
3396
|
-
"type" : "array"
|
|
3397
|
-
},
|
|
3398
3382
|
"SearchResponseModelResultAttributes" : {
|
|
3399
3383
|
"additionalProperties" : true,
|
|
3400
3384
|
"description" : "Additional fields for results - these are site specific fields which can have various value types",
|
|
@@ -3604,6 +3588,7 @@
|
|
|
3604
3588
|
"type" : "string"
|
|
3605
3589
|
}
|
|
3606
3590
|
},
|
|
3591
|
+
"required" : [ "name" ],
|
|
3607
3592
|
"type" : "object"
|
|
3608
3593
|
},
|
|
3609
3594
|
"MetaResponseModelBadgeTag" : {
|
|
@@ -3626,6 +3611,7 @@
|
|
|
3626
3611
|
"type" : "object"
|
|
3627
3612
|
}
|
|
3628
3613
|
},
|
|
3614
|
+
"required" : [ "component", "enabled", "location", "parameters", "priority" ],
|
|
3629
3615
|
"type" : "object"
|
|
3630
3616
|
},
|
|
3631
3617
|
"Meta_Request_Model" : {
|
|
@@ -3936,13 +3922,30 @@
|
|
|
3936
3922
|
},
|
|
3937
3923
|
"type" : "object"
|
|
3938
3924
|
},
|
|
3925
|
+
"SearchResponseModelResult_mappings_badges" : {
|
|
3926
|
+
"properties" : {
|
|
3927
|
+
"tag" : {
|
|
3928
|
+
"type" : "string"
|
|
3929
|
+
},
|
|
3930
|
+
"value" : {
|
|
3931
|
+
"type" : "string"
|
|
3932
|
+
}
|
|
3933
|
+
},
|
|
3934
|
+
"required" : [ "tag" ],
|
|
3935
|
+
"type" : "object"
|
|
3936
|
+
},
|
|
3939
3937
|
"SearchResponseModelResult_mappings" : {
|
|
3940
3938
|
"properties" : {
|
|
3941
3939
|
"core" : {
|
|
3942
3940
|
"$ref" : "#/components/schemas/SearchResponseModelResultCoreMappings"
|
|
3943
3941
|
},
|
|
3944
3942
|
"badges" : {
|
|
3945
|
-
"
|
|
3943
|
+
"description" : "List of matching badges for the result",
|
|
3944
|
+
"items" : {
|
|
3945
|
+
"$ref" : "#/components/schemas/SearchResponseModelResult_mappings_badges"
|
|
3946
|
+
},
|
|
3947
|
+
"title" : "Result Badges Array",
|
|
3948
|
+
"type" : "array"
|
|
3946
3949
|
}
|
|
3947
3950
|
},
|
|
3948
3951
|
"type" : "object"
|
|
@@ -4127,6 +4130,7 @@
|
|
|
4127
4130
|
"type" : "array"
|
|
4128
4131
|
}
|
|
4129
4132
|
},
|
|
4133
|
+
"required" : [ "left", "right" ],
|
|
4130
4134
|
"type" : "object"
|
|
4131
4135
|
},
|
|
4132
4136
|
"MetaResponseModel_badges_locations" : {
|
|
@@ -4141,6 +4145,7 @@
|
|
|
4141
4145
|
"type" : "array"
|
|
4142
4146
|
}
|
|
4143
4147
|
},
|
|
4148
|
+
"required" : [ "callouts", "overlay" ],
|
|
4144
4149
|
"type" : "object"
|
|
4145
4150
|
},
|
|
4146
4151
|
"MetaResponseModel_badges" : {
|
|
@@ -4155,6 +4160,7 @@
|
|
|
4155
4160
|
"type" : "object"
|
|
4156
4161
|
}
|
|
4157
4162
|
},
|
|
4163
|
+
"required" : [ "locations", "tags" ],
|
|
4158
4164
|
"type" : "object"
|
|
4159
4165
|
},
|
|
4160
4166
|
"MetaResponseModelFacetSlider_allOf" : {
|
|
@@ -4,7 +4,7 @@ info:
|
|
|
4
4
|
name: Searchspring
|
|
5
5
|
description: Searchspring Snap Search API
|
|
6
6
|
title: snAPI
|
|
7
|
-
version: 0.1.
|
|
7
|
+
version: 0.1.34
|
|
8
8
|
x-logo:
|
|
9
9
|
url: ./images/searchspring_logo.svg
|
|
10
10
|
altText: Searchspring Snap
|
|
@@ -2864,8 +2864,10 @@ components:
|
|
|
2864
2864
|
results:
|
|
2865
2865
|
- mappings:
|
|
2866
2866
|
badges:
|
|
2867
|
-
-
|
|
2868
|
-
|
|
2867
|
+
- tag: tag
|
|
2868
|
+
value: value
|
|
2869
|
+
- tag: tag
|
|
2870
|
+
value: value
|
|
2869
2871
|
core:
|
|
2870
2872
|
addToCartUrl: addToCartUrl
|
|
2871
2873
|
rating: 7.061401241503109
|
|
@@ -2892,8 +2894,10 @@ components:
|
|
|
2892
2894
|
id: id
|
|
2893
2895
|
- mappings:
|
|
2894
2896
|
badges:
|
|
2895
|
-
-
|
|
2896
|
-
|
|
2897
|
+
- tag: tag
|
|
2898
|
+
value: value
|
|
2899
|
+
- tag: tag
|
|
2900
|
+
value: value
|
|
2897
2901
|
core:
|
|
2898
2902
|
addToCartUrl: addToCartUrl
|
|
2899
2903
|
rating: 7.061401241503109
|
|
@@ -3017,8 +3021,10 @@ components:
|
|
|
3017
3021
|
example:
|
|
3018
3022
|
mappings:
|
|
3019
3023
|
badges:
|
|
3020
|
-
-
|
|
3021
|
-
|
|
3024
|
+
- tag: tag
|
|
3025
|
+
value: value
|
|
3026
|
+
- tag: tag
|
|
3027
|
+
value: value
|
|
3022
3028
|
core:
|
|
3023
3029
|
addToCartUrl: addToCartUrl
|
|
3024
3030
|
rating: 7.061401241503109
|
|
@@ -3126,17 +3132,6 @@ components:
|
|
|
3126
3132
|
type: number
|
|
3127
3133
|
title: Result Core Field Mappings
|
|
3128
3134
|
type: object
|
|
3129
|
-
SearchResponseModelResultBadges:
|
|
3130
|
-
description: List of matching badges for the result
|
|
3131
|
-
items:
|
|
3132
|
-
properties:
|
|
3133
|
-
tag:
|
|
3134
|
-
type: string
|
|
3135
|
-
value:
|
|
3136
|
-
type: string
|
|
3137
|
-
type: object
|
|
3138
|
-
title: Result Badges Array
|
|
3139
|
-
type: array
|
|
3140
3135
|
SearchResponseModelResultAttributes:
|
|
3141
3136
|
additionalProperties: true
|
|
3142
3137
|
description: Additional fields for results - these are site specific fields
|
|
@@ -3374,6 +3369,8 @@ components:
|
|
|
3374
3369
|
type: string
|
|
3375
3370
|
description:
|
|
3376
3371
|
type: string
|
|
3372
|
+
required:
|
|
3373
|
+
- name
|
|
3377
3374
|
type: object
|
|
3378
3375
|
MetaResponseModelBadgeTag:
|
|
3379
3376
|
example:
|
|
@@ -3397,6 +3394,12 @@ components:
|
|
|
3397
3394
|
description: Additional badge parameters - these are template specific fields
|
|
3398
3395
|
which can have various value types
|
|
3399
3396
|
type: object
|
|
3397
|
+
required:
|
|
3398
|
+
- component
|
|
3399
|
+
- enabled
|
|
3400
|
+
- location
|
|
3401
|
+
- parameters
|
|
3402
|
+
- priority
|
|
3400
3403
|
type: object
|
|
3401
3404
|
Meta_Request_Model:
|
|
3402
3405
|
properties:
|
|
@@ -3676,11 +3679,25 @@ components:
|
|
|
3676
3679
|
- desc
|
|
3677
3680
|
type: string
|
|
3678
3681
|
type: object
|
|
3682
|
+
SearchResponseModelResult_mappings_badges:
|
|
3683
|
+
example:
|
|
3684
|
+
tag: tag
|
|
3685
|
+
value: value
|
|
3686
|
+
properties:
|
|
3687
|
+
tag:
|
|
3688
|
+
type: string
|
|
3689
|
+
value:
|
|
3690
|
+
type: string
|
|
3691
|
+
required:
|
|
3692
|
+
- tag
|
|
3693
|
+
type: object
|
|
3679
3694
|
SearchResponseModelResult_mappings:
|
|
3680
3695
|
example:
|
|
3681
3696
|
badges:
|
|
3682
|
-
-
|
|
3683
|
-
|
|
3697
|
+
- tag: tag
|
|
3698
|
+
value: value
|
|
3699
|
+
- tag: tag
|
|
3700
|
+
value: value
|
|
3684
3701
|
core:
|
|
3685
3702
|
addToCartUrl: addToCartUrl
|
|
3686
3703
|
rating: 7.061401241503109
|
|
@@ -3703,12 +3720,7 @@ components:
|
|
|
3703
3720
|
badges:
|
|
3704
3721
|
description: List of matching badges for the result
|
|
3705
3722
|
items:
|
|
3706
|
-
|
|
3707
|
-
tag:
|
|
3708
|
-
type: string
|
|
3709
|
-
value:
|
|
3710
|
-
type: string
|
|
3711
|
-
type: object
|
|
3723
|
+
$ref: '#/components/schemas/SearchResponseModelResult_mappings_badges'
|
|
3712
3724
|
title: Result Badges Array
|
|
3713
3725
|
type: array
|
|
3714
3726
|
type: object
|
|
@@ -3888,6 +3900,9 @@ components:
|
|
|
3888
3900
|
items:
|
|
3889
3901
|
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3890
3902
|
type: array
|
|
3903
|
+
required:
|
|
3904
|
+
- left
|
|
3905
|
+
- right
|
|
3891
3906
|
type: object
|
|
3892
3907
|
MetaResponseModel_badges_locations:
|
|
3893
3908
|
example:
|
|
@@ -3920,6 +3935,9 @@ components:
|
|
|
3920
3935
|
items:
|
|
3921
3936
|
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3922
3937
|
type: array
|
|
3938
|
+
required:
|
|
3939
|
+
- callouts
|
|
3940
|
+
- overlay
|
|
3923
3941
|
type: object
|
|
3924
3942
|
MetaResponseModel_badges:
|
|
3925
3943
|
example:
|
|
@@ -3961,6 +3979,9 @@ components:
|
|
|
3961
3979
|
additionalProperties:
|
|
3962
3980
|
$ref: '#/components/schemas/MetaResponseModelBadgeTag'
|
|
3963
3981
|
type: object
|
|
3982
|
+
required:
|
|
3983
|
+
- locations
|
|
3984
|
+
- tags
|
|
3964
3985
|
type: object
|
|
3965
3986
|
MetaResponseModelFacetSlider_allOf:
|
|
3966
3987
|
properties:
|