@searchspring/snapi-oas 0.1.33 → 0.1.35
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 +29 -32
- package/spec/v1/snapi.oas.v1.yaml +96 -100
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.35",
|
|
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",
|
|
@@ -3594,16 +3578,17 @@
|
|
|
3594
3578
|
},
|
|
3595
3579
|
"MetaResponseModelBadgeLocation" : {
|
|
3596
3580
|
"properties" : {
|
|
3597
|
-
"
|
|
3581
|
+
"tag" : {
|
|
3598
3582
|
"type" : "string"
|
|
3599
3583
|
},
|
|
3600
|
-
"
|
|
3584
|
+
"name" : {
|
|
3601
3585
|
"type" : "string"
|
|
3602
3586
|
},
|
|
3603
3587
|
"description" : {
|
|
3604
3588
|
"type" : "string"
|
|
3605
3589
|
}
|
|
3606
3590
|
},
|
|
3591
|
+
"required" : [ "name", "tag" ],
|
|
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"
|
|
@@ -4112,35 +4115,28 @@
|
|
|
4112
4115
|
},
|
|
4113
4116
|
"type" : "object"
|
|
4114
4117
|
},
|
|
4115
|
-
"
|
|
4118
|
+
"MetaResponseModel_badges_locations" : {
|
|
4116
4119
|
"properties" : {
|
|
4117
|
-
"left" : {
|
|
4120
|
+
"overlay/left" : {
|
|
4118
4121
|
"items" : {
|
|
4119
4122
|
"$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
|
|
4120
4123
|
},
|
|
4121
4124
|
"type" : "array"
|
|
4122
4125
|
},
|
|
4123
|
-
"right" : {
|
|
4126
|
+
"overlay/right" : {
|
|
4124
4127
|
"items" : {
|
|
4125
4128
|
"$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
|
|
4126
4129
|
},
|
|
4127
4130
|
"type" : "array"
|
|
4128
|
-
}
|
|
4129
|
-
},
|
|
4130
|
-
"type" : "object"
|
|
4131
|
-
},
|
|
4132
|
-
"MetaResponseModel_badges_locations" : {
|
|
4133
|
-
"properties" : {
|
|
4134
|
-
"overlay" : {
|
|
4135
|
-
"$ref" : "#/components/schemas/MetaResponseModel_badges_locations_overlay"
|
|
4136
4131
|
},
|
|
4137
|
-
"
|
|
4132
|
+
"callout" : {
|
|
4138
4133
|
"items" : {
|
|
4139
4134
|
"$ref" : "#/components/schemas/MetaResponseModelBadgeLocation"
|
|
4140
4135
|
},
|
|
4141
4136
|
"type" : "array"
|
|
4142
4137
|
}
|
|
4143
4138
|
},
|
|
4139
|
+
"required" : [ "callout", "overlay/left", "overlay/right" ],
|
|
4144
4140
|
"type" : "object"
|
|
4145
4141
|
},
|
|
4146
4142
|
"MetaResponseModel_badges" : {
|
|
@@ -4155,6 +4151,7 @@
|
|
|
4155
4151
|
"type" : "object"
|
|
4156
4152
|
}
|
|
4157
4153
|
},
|
|
4154
|
+
"required" : [ "locations" ],
|
|
4158
4155
|
"type" : "object"
|
|
4159
4156
|
},
|
|
4160
4157
|
"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.35
|
|
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
|
|
@@ -3225,28 +3220,27 @@ components:
|
|
|
3225
3220
|
example:
|
|
3226
3221
|
badges:
|
|
3227
3222
|
locations:
|
|
3228
|
-
|
|
3223
|
+
overlay/right:
|
|
3224
|
+
- name: name
|
|
3225
|
+
description: description
|
|
3226
|
+
tag: tag
|
|
3229
3227
|
- name: name
|
|
3230
3228
|
description: description
|
|
3231
|
-
|
|
3229
|
+
tag: tag
|
|
3230
|
+
callout:
|
|
3232
3231
|
- name: name
|
|
3233
3232
|
description: description
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
description: description
|
|
3246
|
-
label: label
|
|
3247
|
-
- name: name
|
|
3248
|
-
description: description
|
|
3249
|
-
label: label
|
|
3233
|
+
tag: tag
|
|
3234
|
+
- name: name
|
|
3235
|
+
description: description
|
|
3236
|
+
tag: tag
|
|
3237
|
+
overlay/left:
|
|
3238
|
+
- name: name
|
|
3239
|
+
description: description
|
|
3240
|
+
tag: tag
|
|
3241
|
+
- name: name
|
|
3242
|
+
description: description
|
|
3243
|
+
tag: tag
|
|
3250
3244
|
tags:
|
|
3251
3245
|
key:
|
|
3252
3246
|
component: component
|
|
@@ -3366,14 +3360,17 @@ components:
|
|
|
3366
3360
|
example:
|
|
3367
3361
|
name: name
|
|
3368
3362
|
description: description
|
|
3369
|
-
|
|
3363
|
+
tag: tag
|
|
3370
3364
|
properties:
|
|
3371
|
-
|
|
3365
|
+
tag:
|
|
3372
3366
|
type: string
|
|
3373
|
-
|
|
3367
|
+
name:
|
|
3374
3368
|
type: string
|
|
3375
3369
|
description:
|
|
3376
3370
|
type: string
|
|
3371
|
+
required:
|
|
3372
|
+
- name
|
|
3373
|
+
- tag
|
|
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
|
|
@@ -3863,89 +3875,71 @@ components:
|
|
|
3863
3875
|
defaultPageSize:
|
|
3864
3876
|
type: number
|
|
3865
3877
|
type: object
|
|
3866
|
-
|
|
3878
|
+
MetaResponseModel_badges_locations:
|
|
3867
3879
|
example:
|
|
3868
|
-
|
|
3880
|
+
overlay/right:
|
|
3869
3881
|
- name: name
|
|
3870
3882
|
description: description
|
|
3871
|
-
|
|
3883
|
+
tag: tag
|
|
3872
3884
|
- name: name
|
|
3873
3885
|
description: description
|
|
3874
|
-
|
|
3875
|
-
|
|
3886
|
+
tag: tag
|
|
3887
|
+
callout:
|
|
3876
3888
|
- name: name
|
|
3877
3889
|
description: description
|
|
3878
|
-
|
|
3890
|
+
tag: tag
|
|
3879
3891
|
- name: name
|
|
3880
3892
|
description: description
|
|
3881
|
-
|
|
3893
|
+
tag: tag
|
|
3894
|
+
overlay/left:
|
|
3895
|
+
- name: name
|
|
3896
|
+
description: description
|
|
3897
|
+
tag: tag
|
|
3898
|
+
- name: name
|
|
3899
|
+
description: description
|
|
3900
|
+
tag: tag
|
|
3882
3901
|
properties:
|
|
3883
|
-
left:
|
|
3902
|
+
overlay/left:
|
|
3884
3903
|
items:
|
|
3885
3904
|
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3886
3905
|
type: array
|
|
3887
|
-
right:
|
|
3906
|
+
overlay/right:
|
|
3888
3907
|
items:
|
|
3889
3908
|
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3890
3909
|
type: array
|
|
3910
|
+
callout:
|
|
3911
|
+
items:
|
|
3912
|
+
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3913
|
+
type: array
|
|
3914
|
+
required:
|
|
3915
|
+
- callout
|
|
3916
|
+
- overlay/left
|
|
3917
|
+
- overlay/right
|
|
3891
3918
|
type: object
|
|
3892
|
-
|
|
3919
|
+
MetaResponseModel_badges:
|
|
3893
3920
|
example:
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
description: description
|
|
3897
|
-
label: label
|
|
3898
|
-
- name: name
|
|
3899
|
-
description: description
|
|
3900
|
-
label: label
|
|
3901
|
-
overlay:
|
|
3902
|
-
left:
|
|
3921
|
+
locations:
|
|
3922
|
+
overlay/right:
|
|
3903
3923
|
- name: name
|
|
3904
3924
|
description: description
|
|
3905
|
-
|
|
3925
|
+
tag: tag
|
|
3906
3926
|
- name: name
|
|
3907
3927
|
description: description
|
|
3908
|
-
|
|
3909
|
-
|
|
3928
|
+
tag: tag
|
|
3929
|
+
callout:
|
|
3910
3930
|
- name: name
|
|
3911
3931
|
description: description
|
|
3912
|
-
|
|
3932
|
+
tag: tag
|
|
3913
3933
|
- name: name
|
|
3914
3934
|
description: description
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
overlay:
|
|
3918
|
-
$ref: '#/components/schemas/MetaResponseModel_badges_locations_overlay'
|
|
3919
|
-
callouts:
|
|
3920
|
-
items:
|
|
3921
|
-
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
|
|
3922
|
-
type: array
|
|
3923
|
-
type: object
|
|
3924
|
-
MetaResponseModel_badges:
|
|
3925
|
-
example:
|
|
3926
|
-
locations:
|
|
3927
|
-
callouts:
|
|
3935
|
+
tag: tag
|
|
3936
|
+
overlay/left:
|
|
3928
3937
|
- name: name
|
|
3929
3938
|
description: description
|
|
3930
|
-
|
|
3939
|
+
tag: tag
|
|
3931
3940
|
- name: name
|
|
3932
3941
|
description: description
|
|
3933
|
-
|
|
3934
|
-
overlay:
|
|
3935
|
-
left:
|
|
3936
|
-
- name: name
|
|
3937
|
-
description: description
|
|
3938
|
-
label: label
|
|
3939
|
-
- name: name
|
|
3940
|
-
description: description
|
|
3941
|
-
label: label
|
|
3942
|
-
right:
|
|
3943
|
-
- name: name
|
|
3944
|
-
description: description
|
|
3945
|
-
label: label
|
|
3946
|
-
- name: name
|
|
3947
|
-
description: description
|
|
3948
|
-
label: label
|
|
3942
|
+
tag: tag
|
|
3949
3943
|
tags:
|
|
3950
3944
|
key:
|
|
3951
3945
|
component: component
|
|
@@ -3961,6 +3955,8 @@ components:
|
|
|
3961
3955
|
additionalProperties:
|
|
3962
3956
|
$ref: '#/components/schemas/MetaResponseModelBadgeTag'
|
|
3963
3957
|
type: object
|
|
3958
|
+
required:
|
|
3959
|
+
- locations
|
|
3964
3960
|
type: object
|
|
3965
3961
|
MetaResponseModelFacetSlider_allOf:
|
|
3966
3962
|
properties:
|