Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ paths:
type: integer
format: int64
responses:
200:
200:
description: Product Attribute has been deleted
404:
description: Resource not found
Expand Down Expand Up @@ -695,7 +695,7 @@ paths:

### Includes
You can give the following values on includes parameter: `orders, groups`
operationId: getCustomers
operationId: getCustomer
produces:
- application/json
parameters:
Expand All @@ -706,11 +706,17 @@ paths:
200:
description: Customer response
schema:
type: array
items:
$ref: '#/definitions/Customer'
type: object
properties:
data:
type: array
items:
$ref: '#/definitions/Customer'
meta:
$ref: '#/definitions/MetaPartialResponse'
204:
$ref: '#/responses/204'

/customers/{id}/:
get:
tags:
Expand All @@ -735,9 +741,12 @@ paths:
200:
description: Customer response
schema:
type: array
items:
$ref: '#/definitions/Customer'
type: object
properties:
data:
type: array
items:
$ref: '#/definitions/Customer'
404:
description: Resource not found
schema:
Expand Down