Skip to content

Commit

Permalink
update api/manager.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 12, 2024
1 parent 574a4c6 commit 7fc4481
Showing 1 changed file with 34 additions and 80 deletions.
114 changes: 34 additions & 80 deletions api/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/MerchantRequest'
$ref: '#/components/schemas/Request'
required: true
responses:
"200":
Expand Down Expand Up @@ -687,7 +687,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/MerchantRequest'
$ref: '#/components/schemas/Request'
required: true
responses:
"200":
Expand Down Expand Up @@ -848,7 +848,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/OAuth2AuthorizedClientRequest'
$ref: '#/components/schemas/Request'
required: true
responses:
"200":
Expand Down Expand Up @@ -928,7 +928,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/OAuth2AuthorizedClientRequest'
$ref: '#/components/schemas/Request'
required: true
responses:
"200":
Expand Down Expand Up @@ -1464,47 +1464,6 @@ components:
required:
- google_merchant_id
- website_url
MerchantRequest:
type: object
description: The Merchant request
properties:
access_token:
type: string
description: Google Merchant access token
dataset_domain:
type: string
description: The custom domain (for example data.example.org)
dataset_name:
type: string
description: The dataset path (for example "data")
deleted:
type: boolean
default: false
description: True if the merchant has been deleted
google_merchant_id:
type: integer
format: int64
description: The Google Merchant id
ignore_brand:
type: boolean
description: Whether to ignore the `brand` property during validation
ignore_image:
type: boolean
description: Whether to ignore the `image` property during validation
publisher_name:
type: string
description: The publisher name (shows in schema publisher)
refresh_token:
type: string
description: Google Merchant refresh token
url:
type: string
description: The website URL
required:
- google_merchant_id
- publisher_name
- refresh_token
- url
MerchantSync:
type: object
description: A Merchant products data synchronization.
Expand Down Expand Up @@ -1733,40 +1692,6 @@ components:
format: date-time
refresh_token_value:
type: string
OAuth2AuthorizedClientRequest:
type: object
description: The OAuth2 Authorized Client request
properties:
access_token_expires_at:
type: string
format: date-time
description: When the Access Token expires
access_token_issued_at:
type: string
format: date-time
description: When the Access Token was issued
access_token_scopes:
type: string
description: The Access Token scopes
access_token_type:
type: string
description: The Access Token Type
access_token_value:
type: string
description: The Access Token Value
client_registration_id:
type: string
description: The Client Registration Id
principal_name:
type: string
description: The Principal Name
refresh_token_issued_at:
type: string
format: date-time
description: When the Access Token was issued
refresh_token_value:
type: string
description: The Refresh Token Value
PageActiveAccount:
type: object
description: A page object with links to move to other pages and the list of
Expand Down Expand Up @@ -2085,9 +2010,38 @@ components:
format: uri
Request:
type: object
description: The Merchant request
properties:
redeem_code:
access_token_expires_at:
type: string
format: date-time
description: When the Access Token expires
access_token_issued_at:
type: string
format: date-time
description: When the Access Token was issued
access_token_scopes:
type: string
description: The Access Token scopes
access_token_type:
type: string
description: The Access Token Type
access_token_value:
type: string
description: The Access Token Value
client_registration_id:
type: string
description: The Client Registration Id
principal_name:
type: string
description: The Principal Name
refresh_token_issued_at:
type: string
format: date-time
description: When the Access Token was issued
refresh_token_value:
type: string
description: The Refresh Token Value
Response:
type: object
properties:
Expand Down

0 comments on commit 7fc4481

Please sign in to comment.