@searchspring/snapi-oas 0.1.29 → 0.1.31

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 CHANGED
@@ -1,4 +1,4 @@
1
- # Snap API OpenAPI Specification v0.1.29
1
+ # Snap API OpenAPI Specification v0.1.31
2
2
 
3
3
  https://searchspring.github.io/snapi-oas/
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searchspring/snapi-oas",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "Snap OpenAPI Specification",
5
5
  "author": "Searchspring",
6
6
  "license": "MIT",
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "description" : "Searchspring Snap Search API",
8
8
  "title" : "snAPI",
9
- "version" : "0.1.29",
9
+ "version" : "0.1.31",
10
10
  "x-logo" : {
11
11
  "url" : "./images/searchspring_logo.svg",
12
12
  "altText" : "Searchspring Snap"
@@ -3459,6 +3459,9 @@
3459
3459
  "$ref" : "#/components/schemas/MetaResponseModelFacet"
3460
3460
  },
3461
3461
  "type" : "object"
3462
+ },
3463
+ "pagination" : {
3464
+ "$ref" : "#/components/schemas/MetaResponseModel_pagination"
3462
3465
  }
3463
3466
  },
3464
3467
  "type" : "object"
@@ -3683,6 +3686,10 @@
3683
3686
  "description" : "Original query if spell correction occured.",
3684
3687
  "type" : "string"
3685
3688
  },
3689
+ "fallbackQuery" : {
3690
+ "description" : "Integrated spell correction parameter is used as a fallback when the query parameter fails to return results.",
3691
+ "type" : "string"
3692
+ },
3686
3693
  "redirectResponse" : {
3687
3694
  "description" : "Changes how Redirects behave in the response.",
3688
3695
  "enum" : [ "full", "minimal", "direct" ],
@@ -3849,9 +3856,6 @@
3849
3856
  "page" : {
3850
3857
  "type" : "integer"
3851
3858
  },
3852
- "defaultPageSize" : {
3853
- "type" : "integer"
3854
- },
3855
3859
  "pageSize" : {
3856
3860
  "type" : "integer"
3857
3861
  },
@@ -4038,6 +4042,14 @@
4038
4042
  },
4039
4043
  "type" : "object"
4040
4044
  },
4045
+ "MetaResponseModel_pagination" : {
4046
+ "properties" : {
4047
+ "defaultPageSize" : {
4048
+ "type" : "number"
4049
+ }
4050
+ },
4051
+ "type" : "object"
4052
+ },
4041
4053
  "MetaResponseModelFacetSlider_allOf" : {
4042
4054
  "properties" : {
4043
4055
  "formatSeparator" : {
@@ -4,7 +4,7 @@ info:
4
4
  name: Searchspring
5
5
  description: Searchspring Snap Search API
6
6
  title: snAPI
7
- version: 0.1.29
7
+ version: 0.1.31
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -2739,6 +2739,7 @@ components:
2739
2739
  spellCorrection: true
2740
2740
  originalQuery: originalQuery
2741
2741
  redirectResponse: full
2742
+ fallbackQuery: fallbackQuery
2742
2743
  subQuery: subQuery
2743
2744
  pagination:
2744
2745
  pageSize: 6
@@ -2845,9 +2846,8 @@ components:
2845
2846
  originalQuery: originalQuery
2846
2847
  pagination:
2847
2848
  totalResults: 0
2848
- defaultPageSize: 1
2849
2849
  totalPages: 5
2850
- pageSize: 5
2850
+ pageSize: 1
2851
2851
  page: 6
2852
2852
  sorting:
2853
2853
  - field: field
@@ -2865,17 +2865,17 @@ components:
2865
2865
  - mappings:
2866
2866
  core:
2867
2867
  addToCartUrl: addToCartUrl
2868
- rating: 9.301444243932576
2868
+ rating: 7.061401241503109
2869
2869
  description: description
2870
2870
  ratingCount: ratingCount
2871
2871
  url: url
2872
2872
  stockMessage: stockMessage
2873
2873
  uid: uid
2874
2874
  thumbnailImageUrl: thumbnailImageUrl
2875
- price: 2.3021358869347655
2876
- msrp: 7.061401241503109
2875
+ price: 5.637376656633329
2876
+ msrp: 2.3021358869347655
2877
2877
  imageUrl: imageUrl
2878
- popularity: 3.616076749251911
2878
+ popularity: 9.301444243932576
2879
2879
  name: name
2880
2880
  sku: sku
2881
2881
  brand: brand
@@ -2890,17 +2890,17 @@ components:
2890
2890
  - mappings:
2891
2891
  core:
2892
2892
  addToCartUrl: addToCartUrl
2893
- rating: 9.301444243932576
2893
+ rating: 7.061401241503109
2894
2894
  description: description
2895
2895
  ratingCount: ratingCount
2896
2896
  url: url
2897
2897
  stockMessage: stockMessage
2898
2898
  uid: uid
2899
2899
  thumbnailImageUrl: thumbnailImageUrl
2900
- price: 2.3021358869347655
2901
- msrp: 7.061401241503109
2900
+ price: 5.637376656633329
2901
+ msrp: 2.3021358869347655
2902
2902
  imageUrl: imageUrl
2903
- popularity: 3.616076749251911
2903
+ popularity: 9.301444243932576
2904
2904
  name: name
2905
2905
  sku: sku
2906
2906
  brand: brand
@@ -2925,11 +2925,11 @@ components:
2925
2925
  inline:
2926
2926
  - config:
2927
2927
  position:
2928
- index: 2.027123023002322
2928
+ index: 3.616076749251911
2929
2929
  value: value
2930
2930
  - config:
2931
2931
  position:
2932
- index: 2.027123023002322
2932
+ index: 3.616076749251911
2933
2933
  value: value
2934
2934
  footer:
2935
2935
  - footer
@@ -3011,17 +3011,17 @@ components:
3011
3011
  mappings:
3012
3012
  core:
3013
3013
  addToCartUrl: addToCartUrl
3014
- rating: 9.301444243932576
3014
+ rating: 7.061401241503109
3015
3015
  description: description
3016
3016
  ratingCount: ratingCount
3017
3017
  url: url
3018
3018
  stockMessage: stockMessage
3019
3019
  uid: uid
3020
3020
  thumbnailImageUrl: thumbnailImageUrl
3021
- price: 2.3021358869347655
3022
- msrp: 7.061401241503109
3021
+ price: 5.637376656633329
3022
+ msrp: 2.3021358869347655
3023
3023
  imageUrl: imageUrl
3024
- popularity: 3.616076749251911
3024
+ popularity: 9.301444243932576
3025
3025
  name: name
3026
3026
  sku: sku
3027
3027
  brand: brand
@@ -3054,17 +3054,17 @@ components:
3054
3054
  description: Mapping of core fields for the result object
3055
3055
  example:
3056
3056
  addToCartUrl: addToCartUrl
3057
- rating: 9.301444243932576
3057
+ rating: 7.061401241503109
3058
3058
  description: description
3059
3059
  ratingCount: ratingCount
3060
3060
  url: url
3061
3061
  stockMessage: stockMessage
3062
3062
  uid: uid
3063
3063
  thumbnailImageUrl: thumbnailImageUrl
3064
- price: 2.3021358869347655
3065
- msrp: 7.061401241503109
3064
+ price: 5.637376656633329
3065
+ msrp: 2.3021358869347655
3066
3066
  imageUrl: imageUrl
3067
- popularity: 3.616076749251911
3067
+ popularity: 9.301444243932576
3068
3068
  name: name
3069
3069
  sku: sku
3070
3070
  brand: brand
@@ -3169,11 +3169,11 @@ components:
3169
3169
  inline:
3170
3170
  - config:
3171
3171
  position:
3172
- index: 2.027123023002322
3172
+ index: 3.616076749251911
3173
3173
  value: value
3174
3174
  - config:
3175
3175
  position:
3176
- index: 2.027123023002322
3176
+ index: 3.616076749251911
3177
3177
  value: value
3178
3178
  footer:
3179
3179
  - footer
@@ -3199,6 +3199,8 @@ components:
3199
3199
  type: object
3200
3200
  MetaResponseModel:
3201
3201
  example:
3202
+ pagination:
3203
+ defaultPageSize: 0.8008281904610115
3202
3204
  sortOptions:
3203
3205
  - field: field
3204
3206
  label: label
@@ -3220,6 +3222,8 @@ components:
3220
3222
  additionalProperties:
3221
3223
  $ref: '#/components/schemas/MetaResponseModelFacet'
3222
3224
  type: object
3225
+ pagination:
3226
+ $ref: '#/components/schemas/MetaResponseModel_pagination'
3223
3227
  type: object
3224
3228
  MetaResponseModelSortOption:
3225
3229
  example:
@@ -3385,6 +3389,7 @@ components:
3385
3389
  spellCorrection: true
3386
3390
  originalQuery: originalQuery
3387
3391
  redirectResponse: full
3392
+ fallbackQuery: fallbackQuery
3388
3393
  subQuery: subQuery
3389
3394
  properties:
3390
3395
  query:
@@ -3394,6 +3399,10 @@ components:
3394
3399
  originalQuery:
3395
3400
  description: Original query if spell correction occured.
3396
3401
  type: string
3402
+ fallbackQuery:
3403
+ description: Integrated spell correction parameter is used as a fallback
3404
+ when the query parameter fails to return results.
3405
+ type: string
3397
3406
  redirectResponse:
3398
3407
  description: Changes how Redirects behave in the response.
3399
3408
  enum:
@@ -3545,17 +3554,14 @@ components:
3545
3554
  SearchResponseModel_pagination:
3546
3555
  example:
3547
3556
  totalResults: 0
3548
- defaultPageSize: 1
3549
3557
  totalPages: 5
3550
- pageSize: 5
3558
+ pageSize: 1
3551
3559
  page: 6
3552
3560
  properties:
3553
3561
  totalResults:
3554
3562
  type: integer
3555
3563
  page:
3556
3564
  type: integer
3557
- defaultPageSize:
3558
- type: integer
3559
3565
  pageSize:
3560
3566
  type: integer
3561
3567
  totalPages:
@@ -3578,17 +3584,17 @@ components:
3578
3584
  example:
3579
3585
  core:
3580
3586
  addToCartUrl: addToCartUrl
3581
- rating: 9.301444243932576
3587
+ rating: 7.061401241503109
3582
3588
  description: description
3583
3589
  ratingCount: ratingCount
3584
3590
  url: url
3585
3591
  stockMessage: stockMessage
3586
3592
  uid: uid
3587
3593
  thumbnailImageUrl: thumbnailImageUrl
3588
- price: 2.3021358869347655
3589
- msrp: 7.061401241503109
3594
+ price: 5.637376656633329
3595
+ msrp: 2.3021358869347655
3590
3596
  imageUrl: imageUrl
3591
- popularity: 3.616076749251911
3597
+ popularity: 9.301444243932576
3592
3598
  name: name
3593
3599
  sku: sku
3594
3600
  brand: brand
@@ -3670,7 +3676,7 @@ components:
3670
3676
  type: object
3671
3677
  SearchResponseModelMerchandising_content_config_position:
3672
3678
  example:
3673
- index: 2.027123023002322
3679
+ index: 3.616076749251911
3674
3680
  properties:
3675
3681
  index:
3676
3682
  type: number
@@ -3678,7 +3684,7 @@ components:
3678
3684
  SearchResponseModelMerchandising_content_config:
3679
3685
  example:
3680
3686
  position:
3681
- index: 2.027123023002322
3687
+ index: 3.616076749251911
3682
3688
  properties:
3683
3689
  position:
3684
3690
  $ref: '#/components/schemas/SearchResponseModelMerchandising_content_config_position'
@@ -3687,7 +3693,7 @@ components:
3687
3693
  example:
3688
3694
  config:
3689
3695
  position:
3690
- index: 2.027123023002322
3696
+ index: 3.616076749251911
3691
3697
  value: value
3692
3698
  properties:
3693
3699
  config:
@@ -3700,11 +3706,11 @@ components:
3700
3706
  inline:
3701
3707
  - config:
3702
3708
  position:
3703
- index: 2.027123023002322
3709
+ index: 3.616076749251911
3704
3710
  value: value
3705
3711
  - config:
3706
3712
  position:
3707
- index: 2.027123023002322
3713
+ index: 3.616076749251911
3708
3714
  value: value
3709
3715
  footer:
3710
3716
  - footer
@@ -3740,6 +3746,13 @@ components:
3740
3746
  $ref: '#/components/schemas/SearchResponseModelMerchandising_content_inline'
3741
3747
  type: array
3742
3748
  type: object
3749
+ MetaResponseModel_pagination:
3750
+ example:
3751
+ defaultPageSize: 0.8008281904610115
3752
+ properties:
3753
+ defaultPageSize:
3754
+ type: number
3755
+ type: object
3743
3756
  MetaResponseModelFacetSlider_allOf:
3744
3757
  properties:
3745
3758
  formatSeparator: