Refactor partyID reference, remove it from post request

This commit is contained in:
Igor Toporkov 2020-09-23 12:11:46 +03:00
parent 3805e33967
commit 6ff615598e
4 changed files with 15 additions and 16 deletions

View File

@ -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: Данные плательщика

View File

@ -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: Шаблон инвойса

View File

@ -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

View File

@ -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: Данные инвойса