mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-06 09:35:22 +00:00
Refactor partyID reference, remove it from post request
This commit is contained in:
parent
3805e33967
commit
6ff615598e
@ -7,10 +7,11 @@ get:
|
||||
- $ref: '#/parameters/requestID'
|
||||
- $ref: '#/parameters/deadline'
|
||||
- $ref: '#/parameters/customerID'
|
||||
- name: partyID
|
||||
in: query
|
||||
schema:
|
||||
$ref: '#/definitions/PartyID'
|
||||
- x-rebillyMerge:
|
||||
- name: partyID
|
||||
in: query
|
||||
required: false
|
||||
- $ref: '#/definitions/PartyID'
|
||||
responses:
|
||||
'200':
|
||||
description: Данные плательщика
|
||||
|
@ -7,10 +7,11 @@ get:
|
||||
- $ref: '#/parameters/requestID'
|
||||
- $ref: '#/parameters/deadline'
|
||||
- $ref: '#/parameters/invoiceTemplateID'
|
||||
- name: partyID
|
||||
in: query
|
||||
schema:
|
||||
$ref: '#/definitions/PartyID'
|
||||
- x-rebillyMerge:
|
||||
- name: partyID
|
||||
in: query
|
||||
required: false
|
||||
- $ref: '#/definitions/PartyID'
|
||||
responses:
|
||||
'200':
|
||||
description: Шаблон инвойса
|
||||
|
@ -7,10 +7,6 @@ post:
|
||||
- $ref: '#/parameters/requestID'
|
||||
- $ref: '#/parameters/deadline'
|
||||
- $ref: '#/parameters/invoiceTemplateID'
|
||||
- name: partyID
|
||||
in: query
|
||||
schema:
|
||||
$ref: '#/definitions/PartyID'
|
||||
- name: invoiceParamsWithTemplate
|
||||
description: Параметры создаваемого инвойса
|
||||
in: body
|
||||
|
@ -7,10 +7,11 @@ get:
|
||||
- $ref: '#/parameters/requestID'
|
||||
- $ref: '#/parameters/deadline'
|
||||
- $ref: '#/parameters/invoiceID'
|
||||
- name: partyID
|
||||
in: query
|
||||
schema:
|
||||
$ref: '#/definitions/PartyID'
|
||||
- x-rebillyMerge:
|
||||
- name: partyID
|
||||
in: query
|
||||
required: false
|
||||
- $ref: '#/definitions/PartyID'
|
||||
responses:
|
||||
'200':
|
||||
description: Данные инвойса
|
||||
|
Loading…
Reference in New Issue
Block a user