Skip to content

Commit

Permalink
chore(generation): 0.1.34
Browse files Browse the repository at this point in the history
  • Loading branch information
searchspring-machine committed Mar 28, 2024
1 parent 2497fa9 commit fdce0ef
Show file tree
Hide file tree
Showing 5 changed files with 120 additions and 72 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Snap API OpenAPI Specification v0.1.33
# Snap API OpenAPI Specification v0.1.34

https://searchspring.github.io/snapi-oas/

Expand Down
73 changes: 47 additions & 26 deletions docs/spec/v1/snapi.oas.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
name: Searchspring
description: Searchspring Snap Search API
title: snAPI
version: 0.1.33
version: 0.1.34
x-logo:
url: ./images/searchspring_logo.svg
altText: Searchspring Snap
Expand Down Expand Up @@ -2864,8 +2864,10 @@ components:
results:
- mappings:
badges:
- '{}'
- '{}'
- tag: tag
value: value
- tag: tag
value: value
core:
addToCartUrl: addToCartUrl
rating: 7.061401241503109
Expand All @@ -2892,8 +2894,10 @@ components:
id: id
- mappings:
badges:
- '{}'
- '{}'
- tag: tag
value: value
- tag: tag
value: value
core:
addToCartUrl: addToCartUrl
rating: 7.061401241503109
Expand Down Expand Up @@ -3017,8 +3021,10 @@ components:
example:
mappings:
badges:
- '{}'
- '{}'
- tag: tag
value: value
- tag: tag
value: value
core:
addToCartUrl: addToCartUrl
rating: 7.061401241503109
Expand Down Expand Up @@ -3126,17 +3132,6 @@ components:
type: number
title: Result Core Field Mappings
type: object
SearchResponseModelResultBadges:
description: List of matching badges for the result
items:
properties:
tag:
type: string
value:
type: string
type: object
title: Result Badges Array
type: array
SearchResponseModelResultAttributes:
additionalProperties: true
description: Additional fields for results - these are site specific fields
Expand Down Expand Up @@ -3374,6 +3369,8 @@ components:
type: string
description:
type: string
required:
- name
type: object
MetaResponseModelBadgeTag:
example:
Expand All @@ -3397,6 +3394,12 @@ components:
description: Additional badge parameters - these are template specific fields
which can have various value types
type: object
required:
- component
- enabled
- location
- parameters
- priority
type: object
Meta_Request_Model:
properties:
Expand Down Expand Up @@ -3676,11 +3679,25 @@ components:
- desc
type: string
type: object
SearchResponseModelResult_mappings_badges:
example:
tag: tag
value: value
properties:
tag:
type: string
value:
type: string
required:
- tag
type: object
SearchResponseModelResult_mappings:
example:
badges:
- '{}'
- '{}'
- tag: tag
value: value
- tag: tag
value: value
core:
addToCartUrl: addToCartUrl
rating: 7.061401241503109
Expand All @@ -3703,12 +3720,7 @@ components:
badges:
description: List of matching badges for the result
items:
properties:
tag:
type: string
value:
type: string
type: object
$ref: '#/components/schemas/SearchResponseModelResult_mappings_badges'
title: Result Badges Array
type: array
type: object
Expand Down Expand Up @@ -3888,6 +3900,9 @@ components:
items:
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
type: array
required:
- left
- right
type: object
MetaResponseModel_badges_locations:
example:
Expand Down Expand Up @@ -3920,6 +3935,9 @@ components:
items:
$ref: '#/components/schemas/MetaResponseModelBadgeLocation'
type: array
required:
- callouts
- overlay
type: object
MetaResponseModel_badges:
example:
Expand Down Expand Up @@ -3961,6 +3979,9 @@ components:
additionalProperties:
$ref: '#/components/schemas/MetaResponseModelBadgeTag'
type: object
required:
- locations
- tags
type: object
MetaResponseModelFacetSlider_allOf:
properties:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@searchspring/snapi-oas",
"version": "0.1.33",
"version": "0.1.34",
"description": "Snap OpenAPI Specification",
"author": "Searchspring",
"license": "MIT",
Expand Down
42 changes: 24 additions & 18 deletions spec/v1/snapi.oas.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"description" : "Searchspring Snap Search API",
"title" : "snAPI",
"version" : "0.1.33",
"version" : "0.1.34",
"x-logo" : {
"url" : "./images/searchspring_logo.svg",
"altText" : "Searchspring Snap"
Expand Down Expand Up @@ -3379,22 +3379,6 @@
"title" : "Result Core Field Mappings",
"type" : "object"
},
"SearchResponseModelResultBadges" : {
"description" : "List of matching badges for the result",
"items" : {
"properties" : {
"tag" : {
"type" : "string"
},
"value" : {
"type" : "string"
}
},
"type" : "object"
},
"title" : "Result Badges Array",
"type" : "array"
},
"SearchResponseModelResultAttributes" : {
"additionalProperties" : true,
"description" : "Additional fields for results - these are site specific fields which can have various value types",
Expand Down Expand Up @@ -3604,6 +3588,7 @@
"type" : "string"
}
},
"required" : [ "name" ],
"type" : "object"
},
"MetaResponseModelBadgeTag" : {
Expand All @@ -3626,6 +3611,7 @@
"type" : "object"
}
},
"required" : [ "component", "enabled", "location", "parameters", "priority" ],
"type" : "object"
},
"Meta_Request_Model" : {
Expand Down Expand Up @@ -3936,13 +3922,30 @@
},
"type" : "object"
},
"SearchResponseModelResult_mappings_badges" : {
"properties" : {
"tag" : {
"type" : "string"
},
"value" : {
"type" : "string"
}
},
"required" : [ "tag" ],
"type" : "object"
},
"SearchResponseModelResult_mappings" : {
"properties" : {
"core" : {
"$ref" : "#/components/schemas/SearchResponseModelResultCoreMappings"
},
"badges" : {
"$ref" : "#/components/schemas/SearchResponseModelResultBadges"
"description" : "List of matching badges for the result",
"items" : {
"$ref" : "#/components/schemas/SearchResponseModelResult_mappings_badges"
},
"title" : "Result Badges Array",
"type" : "array"
}
},
"type" : "object"
Expand Down Expand Up @@ -4127,6 +4130,7 @@
"type" : "array"
}
},
"required" : [ "left", "right" ],
"type" : "object"
},
"MetaResponseModel_badges_locations" : {
Expand All @@ -4141,6 +4145,7 @@
"type" : "array"
}
},
"required" : [ "callouts", "overlay" ],
"type" : "object"
},
"MetaResponseModel_badges" : {
Expand All @@ -4155,6 +4160,7 @@
"type" : "object"
}
},
"required" : [ "locations", "tags" ],
"type" : "object"
},
"MetaResponseModelFacetSlider_allOf" : {
Expand Down
Loading

0 comments on commit fdce0ef

Please sign in to comment.