Skip to content

Commit

Permalink
Fixed schema on GET 200 in category (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
Made1ra authored Dec 17, 2024
1 parent eba059c commit 6002152
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docs/category/category-schema.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
definitions:
priceRange:
type: object
properties:
minPrice:
type: number
maxPrice:
type: number
categories:
type: array
items:
Expand Down
2 changes: 1 addition & 1 deletion docs/category/category.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ paths:
content:
application/json:
schema:
$ref: '#/definitions/offer'
$ref: '#/definitions/priceRange'
example:
minPrice: 300
maxPrice: 500
Expand Down

0 comments on commit 6002152

Please sign in to comment.