You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in order to explain in more details see below code example with a enum MatchResult which should be referenced by all attribute schema description in the response.
MatchResult:
type: string
description: enumeration of match result
enum:
- 'true'
- 'false'
- 'not_available'
KYC_MatchResponse:
type: object
properties:
idDocumentMatch:
$ref: '#/components/schemas/MatchResult'
nameMatch:
$ref: '#/components/schemas/MatchResult'
givenNameMatch:
$ref: '#/components/schemas/MatchResult'
Problem description
a dedicated enum (True/Flasi/not-available) is declared for each attributeMatch result
Expected behavior
Declare a common enum as a schema and referred in each attribute description
Additional context
This should strongly facilitate developers' API implementation.
Thanks
The text was updated successfully, but these errors were encountered: