Skip to content

Commit f3252b9

Browse files
committed
updated spec to 0.8.2
1 parent 8b33290 commit f3252b9

File tree

1 file changed

+66
-4
lines changed

1 file changed

+66
-4
lines changed

generator/data/openapi.yml

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.1
22
info:
33
title: Aries Cloud Agent
4-
version: v0.8.1
4+
version: v0.8.2
55
servers:
66
- url: /
77
security:
@@ -105,6 +105,8 @@ tags:
105105
externalDocs:
106106
description: Specification
107107
url: https://github.com/hyperledger/indy-node/blob/master/design/anoncreds.md#schema
108+
- name: settings
109+
description: Agent settings interface.
108110
- name: trustping
109111
description: Trust-ping over connection
110112
externalDocs:
@@ -273,14 +275,14 @@ paths:
273275
schema:
274276
type: string
275277
enum:
278+
- invitation
279+
- start
280+
- abandoned
276281
- init
277282
- request
278283
- response
279284
- error
280285
- active
281-
- abandoned
282-
- start
283-
- invitation
284286
- completed
285287
- name: their_did
286288
in: query
@@ -3936,6 +3938,36 @@ paths:
39363938
schema:
39373939
$ref: '#/components/schemas/SchemaGetResult'
39383940
operationId: write_record
3941+
/settings:
3942+
get:
3943+
tags:
3944+
- settings
3945+
summary: Get the configurable settings associated with the profile.
3946+
responses:
3947+
200:
3948+
description: ''
3949+
content:
3950+
application/json:
3951+
schema:
3952+
$ref: '#/components/schemas/ProfileSettings'
3953+
put:
3954+
tags:
3955+
- settings
3956+
summary: Update configurable settings associated with the profile.
3957+
requestBody:
3958+
content:
3959+
application/json:
3960+
schema:
3961+
$ref: '#/components/schemas/UpdateProfileSettings'
3962+
required: false
3963+
responses:
3964+
200:
3965+
description: ''
3966+
content:
3967+
application/json:
3968+
schema:
3969+
$ref: '#/components/schemas/ProfileSettings'
3970+
x-codegen-request-body-name: body
39393971
/shutdown:
39403972
get:
39413973
tags:
@@ -5031,6 +5063,10 @@ components:
50315063
CreateWalletRequest:
50325064
type: object
50335065
properties:
5066+
extra_settings:
5067+
type: object
5068+
properties: {}
5069+
description: Agent config key-value pairs
50345070
image_url:
50355071
type: string
50365072
description: Image url for this wallet. This image url is publicized (self-attested)
@@ -7771,6 +7807,17 @@ components:
77717807
type: array
77727808
items:
77737809
$ref: '#/components/schemas/AttachDecorator'
7810+
ProfileSettings:
7811+
type: object
7812+
properties:
7813+
settings:
7814+
type: object
7815+
properties: {}
7816+
description: Profile settings dict
7817+
example:
7818+
debug.invite_public: true
7819+
log.level: INFO
7820+
public_invites: false
77747821
ProtocolDescriptor:
77757822
required:
77767823
- pid
@@ -8536,9 +8583,24 @@ components:
85368583
description: Schema transaction to endorse
85378584
allOf:
85388585
- $ref: '#/components/schemas/TransactionRecord'
8586+
UpdateProfileSettings:
8587+
type: object
8588+
properties:
8589+
extra_settings:
8590+
type: object
8591+
properties: {}
8592+
description: Agent config key-value pairs
8593+
example:
8594+
ACAPY_INVITE_PUBLIC: true
8595+
log-level: INFO
8596+
public-invites: false
85398597
UpdateWalletRequest:
85408598
type: object
85418599
properties:
8600+
extra_settings:
8601+
type: object
8602+
properties: {}
8603+
description: Agent config key-value pairs
85428604
image_url:
85438605
type: string
85448606
description: Image url for this wallet. This image url is publicized (self-attested)

0 commit comments

Comments
 (0)