Skip to content

Commit

Permalink
Merge pull request #610 from 0xPolygonID/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
elias-garcia committed Jan 30, 2024
2 parents 2b642a2 + dac42ee commit 357f439
Show file tree
Hide file tree
Showing 84 changed files with 3,575 additions and 686 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ linters-settings:
- name: argument-limit
severity: warning
disabled: false
arguments: [ 14 ]
arguments: [ 16 ]
- name: exported
severity: warning
disabled: false
Expand Down
58 changes: 57 additions & 1 deletion api/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ paths:
$ref: '#/components/responses/400'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'500':
$ref: '#/components/responses/500-CreateIdentity'
get:
Expand Down Expand Up @@ -396,6 +398,8 @@ paths:
$ref: '#/components/responses/400'
'404':
$ref: '#/components/responses/404'
'409':
$ref: '#/components/responses/409'
'500':
$ref: '#/components/responses/500'
#agent
Expand Down Expand Up @@ -609,6 +613,38 @@ components:
rootOfRoots:
type: string

# refresh service
RefreshService:
type: object
required:
- id
- type
properties:
id:
type: string
x-omitempty: false
type:
type: string
x-omitempty: false
enum:
- "Iden3RefreshService2023"

# display method
DisplayMethod:
type: object
required:
- id
- type
properties:
id:
type: string
x-omitempty: false
type:
type: string
x-omitempty: false
enum:
- "Iden3BasicDisplayMethodV1"

#claims
CreateClaimRequest:
type: object
Expand Down Expand Up @@ -639,6 +675,10 @@ components:
type: string
merklizedRootPosition:
type: string
refreshService:
$ref: '#/components/schemas/RefreshService'
displayMethod:
$ref: '#/components/schemas/DisplayMethod'
example:
credentialSchema: "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json"
type: "KYCAgeCredential"
Expand Down Expand Up @@ -687,7 +727,7 @@ components:
x-omitempty: false
items:
type: string
expiration:
expirationDate:
$ref: '#/components/schemas/TimeUTC'
issuanceDate:
$ref: '#/components/schemas/TimeUTC'
Expand All @@ -704,6 +744,10 @@ components:
x-omitempty: false
proof:
type: null
displayMethod:
$ref: '#/components/schemas/DisplayMethod'
refreshService:
$ref: '#/components/schemas/RefreshService'

QrCodeLinkShortResponse:
type: string
Expand Down Expand Up @@ -899,12 +943,24 @@ components:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'403':
description: 'Permission Denied'
content:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'404':
description: 'Not found'
content:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'409':
description: 'Conflict'
content:
application/json:
schema:
$ref: '#/components/schemas/GenericErrorMessage'
'407':
description: 'Proxy Authentication Required'
content:
Expand Down
Loading

0 comments on commit 357f439

Please sign in to comment.