@searchspring/snapi-oas 0.1.22 → 0.1.25

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.22
1
+ # Snap API OpenAPI Specification v0.1.25
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.22",
3
+ "version": "0.1.25",
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.22",
9
+ "version" : "0.1.25",
10
10
  "x-logo" : {
11
11
  "url" : "./images/searchspring_logo.svg",
12
12
  "altText" : "Searchspring Snap"
@@ -3698,6 +3698,9 @@
3698
3698
  },
3699
3699
  "SearchRequestModel_facets" : {
3700
3700
  "properties" : {
3701
+ "autoDrillDown" : {
3702
+ "type" : "boolean"
3703
+ },
3701
3704
  "limit" : {
3702
3705
  "type" : "integer"
3703
3706
  },
@@ -3809,6 +3812,11 @@
3809
3812
  "originalQuery" : {
3810
3813
  "description" : "Original query if spell correction occured.",
3811
3814
  "type" : "string"
3815
+ },
3816
+ "matchType" : {
3817
+ "description" : "Indicates the type of search matching that was required for this search. Will return \"expanded\" when an Expanded Search is applied after finding zero results for the initial strict search.",
3818
+ "enum" : [ "expanded" ],
3819
+ "type" : "string"
3812
3820
  }
3813
3821
  },
3814
3822
  "type" : "object"
@@ -3855,9 +3863,6 @@
3855
3863
  },
3856
3864
  "SearchResponseModelResult_children" : {
3857
3865
  "properties" : {
3858
- "mappings" : {
3859
- "$ref" : "#/components/schemas/SearchResponseModelResult_mappings"
3860
- },
3861
3866
  "attributes" : {
3862
3867
  "$ref" : "#/components/schemas/SearchResponseModelResultAttributes"
3863
3868
  }
@@ -4,7 +4,7 @@ info:
4
4
  name: Searchspring
5
5
  description: Searchspring Snap Search API
6
6
  title: snAPI
7
- version: 0.1.22
7
+ version: 0.1.25
8
8
  x-logo:
9
9
  url: ./images/searchspring_logo.svg
10
10
  altText: Searchspring Snap
@@ -2766,6 +2766,7 @@ components:
2766
2766
  domain: domain
2767
2767
  userId: userId
2768
2768
  facets:
2769
+ autoDrillDown: true
2769
2770
  valueLimit: 5
2770
2771
  include:
2771
2772
  - include
@@ -2835,6 +2836,7 @@ components:
2835
2836
  example:
2836
2837
  search:
2837
2838
  didYouMean: didYouMean
2839
+ matchType: expanded
2838
2840
  query: query
2839
2841
  originalQuery: originalQuery
2840
2842
  pagination:
@@ -2874,43 +2876,9 @@ components:
2874
2876
  sku: sku
2875
2877
  brand: brand
2876
2878
  children:
2877
- - mappings:
2878
- core:
2879
- addToCartUrl: addToCartUrl
2880
- rating: 9.301444243932576
2881
- description: description
2882
- ratingCount: ratingCount
2883
- url: url
2884
- stockMessage: stockMessage
2885
- uid: uid
2886
- thumbnailImageUrl: thumbnailImageUrl
2887
- price: 2.3021358869347655
2888
- msrp: 7.061401241503109
2889
- imageUrl: imageUrl
2890
- popularity: 3.616076749251911
2891
- name: name
2892
- sku: sku
2893
- brand: brand
2894
- attributes:
2879
+ - attributes:
2895
2880
  key: '{}'
2896
- - mappings:
2897
- core:
2898
- addToCartUrl: addToCartUrl
2899
- rating: 9.301444243932576
2900
- description: description
2901
- ratingCount: ratingCount
2902
- url: url
2903
- stockMessage: stockMessage
2904
- uid: uid
2905
- thumbnailImageUrl: thumbnailImageUrl
2906
- price: 2.3021358869347655
2907
- msrp: 7.061401241503109
2908
- imageUrl: imageUrl
2909
- popularity: 3.616076749251911
2910
- name: name
2911
- sku: sku
2912
- brand: brand
2913
- attributes:
2881
+ - attributes:
2914
2882
  key: '{}'
2915
2883
  attributes:
2916
2884
  key: '{}'
@@ -2933,43 +2901,9 @@ components:
2933
2901
  sku: sku
2934
2902
  brand: brand
2935
2903
  children:
2936
- - mappings:
2937
- core:
2938
- addToCartUrl: addToCartUrl
2939
- rating: 9.301444243932576
2940
- description: description
2941
- ratingCount: ratingCount
2942
- url: url
2943
- stockMessage: stockMessage
2944
- uid: uid
2945
- thumbnailImageUrl: thumbnailImageUrl
2946
- price: 2.3021358869347655
2947
- msrp: 7.061401241503109
2948
- imageUrl: imageUrl
2949
- popularity: 3.616076749251911
2950
- name: name
2951
- sku: sku
2952
- brand: brand
2953
- attributes:
2904
+ - attributes:
2954
2905
  key: '{}'
2955
- - mappings:
2956
- core:
2957
- addToCartUrl: addToCartUrl
2958
- rating: 9.301444243932576
2959
- description: description
2960
- ratingCount: ratingCount
2961
- url: url
2962
- stockMessage: stockMessage
2963
- uid: uid
2964
- thumbnailImageUrl: thumbnailImageUrl
2965
- price: 2.3021358869347655
2966
- msrp: 7.061401241503109
2967
- imageUrl: imageUrl
2968
- popularity: 3.616076749251911
2969
- name: name
2970
- sku: sku
2971
- brand: brand
2972
- attributes:
2906
+ - attributes:
2973
2907
  key: '{}'
2974
2908
  attributes:
2975
2909
  key: '{}'
@@ -3081,43 +3015,9 @@ components:
3081
3015
  sku: sku
3082
3016
  brand: brand
3083
3017
  children:
3084
- - mappings:
3085
- core:
3086
- addToCartUrl: addToCartUrl
3087
- rating: 9.301444243932576
3088
- description: description
3089
- ratingCount: ratingCount
3090
- url: url
3091
- stockMessage: stockMessage
3092
- uid: uid
3093
- thumbnailImageUrl: thumbnailImageUrl
3094
- price: 2.3021358869347655
3095
- msrp: 7.061401241503109
3096
- imageUrl: imageUrl
3097
- popularity: 3.616076749251911
3098
- name: name
3099
- sku: sku
3100
- brand: brand
3101
- attributes:
3018
+ - attributes:
3102
3019
  key: '{}'
3103
- - mappings:
3104
- core:
3105
- addToCartUrl: addToCartUrl
3106
- rating: 9.301444243932576
3107
- description: description
3108
- ratingCount: ratingCount
3109
- url: url
3110
- stockMessage: stockMessage
3111
- uid: uid
3112
- thumbnailImageUrl: thumbnailImageUrl
3113
- price: 2.3021358869347655
3114
- msrp: 7.061401241503109
3115
- imageUrl: imageUrl
3116
- popularity: 3.616076749251911
3117
- name: name
3118
- sku: sku
3119
- brand: brand
3120
- attributes:
3020
+ - attributes:
3121
3021
  key: '{}'
3122
3022
  attributes:
3123
3023
  key: '{}'
@@ -3492,6 +3392,7 @@ components:
3492
3392
  type: object
3493
3393
  SearchRequestModel_facets:
3494
3394
  example:
3395
+ autoDrillDown: true
3495
3396
  valueLimit: 5
3496
3397
  include:
3497
3398
  - include
@@ -3501,6 +3402,8 @@ components:
3501
3402
  - exclude
3502
3403
  - exclude
3503
3404
  properties:
3405
+ autoDrillDown:
3406
+ type: boolean
3504
3407
  limit:
3505
3408
  type: integer
3506
3409
  valueLimit:
@@ -3583,6 +3486,7 @@ components:
3583
3486
  SearchResponseModel_search:
3584
3487
  example:
3585
3488
  didYouMean: didYouMean
3489
+ matchType: expanded
3586
3490
  query: query
3587
3491
  originalQuery: originalQuery
3588
3492
  properties:
@@ -3594,6 +3498,13 @@ components:
3594
3498
  originalQuery:
3595
3499
  description: Original query if spell correction occured.
3596
3500
  type: string
3501
+ matchType:
3502
+ description: Indicates the type of search matching that was required for
3503
+ this search. Will return "expanded" when an Expanded Search is applied
3504
+ after finding zero results for the initial strict search.
3505
+ enum:
3506
+ - expanded
3507
+ type: string
3597
3508
  type: object
3598
3509
  SearchResponseModel_pagination:
3599
3510
  example:
@@ -3651,28 +3562,9 @@ components:
3651
3562
  type: object
3652
3563
  SearchResponseModelResult_children:
3653
3564
  example:
3654
- mappings:
3655
- core:
3656
- addToCartUrl: addToCartUrl
3657
- rating: 9.301444243932576
3658
- description: description
3659
- ratingCount: ratingCount
3660
- url: url
3661
- stockMessage: stockMessage
3662
- uid: uid
3663
- thumbnailImageUrl: thumbnailImageUrl
3664
- price: 2.3021358869347655
3665
- msrp: 7.061401241503109
3666
- imageUrl: imageUrl
3667
- popularity: 3.616076749251911
3668
- name: name
3669
- sku: sku
3670
- brand: brand
3671
3565
  attributes:
3672
3566
  key: '{}'
3673
3567
  properties:
3674
- mappings:
3675
- $ref: '#/components/schemas/SearchResponseModelResult_mappings'
3676
3568
  attributes:
3677
3569
  additionalProperties: true
3678
3570
  description: Additional fields for results - these are site specific fields