Skip to content

Commit 4415dd2

Browse files
Merge pull request #58 from PaystackOSS/patch-misc
chore: update miscellaneous tag examples and descriptions
2 parents 183dcc0 + afe300f commit 4415dd2

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

dist/paystack.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4721,13 +4721,16 @@ paths:
47214721
tags:
47224722
- Miscellaneous
47234723
summary: Resolve Card BIN
4724+
description: Get the details of a card BIN
47244725
operationId: miscellaneous_resolveCardBin
47254726
parameters:
47264727
- name: bin
4728+
description: The card bank identification number
47274729
in: path
47284730
required: true
47294731
schema:
4730-
type: string
4732+
type: integer
4733+
example: 539983
47314734
responses:
47324735
'200':
47334736
$ref: '#/components/responses/VerificationResolveCardBINSuccess'
@@ -4742,6 +4745,7 @@ paths:
47424745
tags:
47434746
- Miscellaneous
47444747
summary: List Countries
4748+
description: List all supported countries on Paystack
47454749
operationId: miscellaneous_listCountries
47464750
responses:
47474751
'200':
@@ -4765,7 +4769,7 @@ paths:
47654769
description: The country code of the states to list. It is gotten after the charge request
47664770
schema:
47674771
type: string
4768-
example: CA
4772+
example: CA
47694773
responses:
47704774
'200':
47714775
$ref: '#/components/responses/MiscellaneousListStatesSuccess'

src/assets/openapi/paths/address_verification_states.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ get:
1010
description: The country code of the states to list. It is gotten after the charge request
1111
schema:
1212
type: string
13-
example: CA
13+
example: CA
1414
responses:
1515
'200':
1616
$ref: ../components/responses/MiscellaneousListStatesSuccess.yaml

src/assets/openapi/paths/country.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ get:
22
tags:
33
- Miscellaneous
44
summary: List Countries
5+
description: List all supported countries on Paystack
56
operationId: miscellaneous_listCountries
67
responses:
78
'200':

src/assets/openapi/paths/decision_bin_{bin}.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@ get:
22
tags:
33
- Miscellaneous
44
summary: Resolve Card BIN
5+
description: Get the details of a card BIN
56
operationId: miscellaneous_resolveCardBin
67
parameters:
78
- name: bin
9+
description: The card bank identification number
810
in: path
911
required: true
1012
schema:
11-
type: string
13+
type: integer
14+
example: 539983
1215
responses:
1316
'200':
1417
$ref: ../components/responses/VerificationResolveCardBINSuccess.yaml

0 commit comments

Comments
 (0)