1
1
diff --git a/generator/data/openapi.yml b/generator/data/openapi.yml
2
- index 81a975a..ab4c13c 100644
2
+ index 81a975a..1a84edb 100644
3
3
--- a/generator/data/openapi.yml
4
4
+++ b/generator/data/openapi.yml
5
5
@@ -705,7 +705,9 @@ paths:
@@ -8,8 +8,8 @@ index 81a975a..ab4c13c 100644
8
8
schema:
9
9
- $ref: '#/components/schemas/TxnOrCredentialDefinitionSendResult'
10
10
+ oneOf:
11
- + - $ref: '#/components/schemas/CredentialDefinitionSendResult'
12
- + - $ref: '#/components/schemas/TxnOrCredentialDefinitionSendResult'
11
+ + - $ref: '#/components/schemas/CredentialDefinitionSendResult'
12
+ + - $ref: '#/components/schemas/TxnOrCredentialDefinitionSendResult'
13
13
x-codegen-request-body-name: body
14
14
operationId: publish_cred_def
15
15
/credential-definitions/created:
@@ -19,8 +19,8 @@ index 81a975a..ab4c13c 100644
19
19
schema:
20
20
- $ref: '#/components/schemas/TxnOrPublishRevocationsResult'
21
21
+ oneOf:
22
- + - $ref: '#/components/schemas/PublishRevocations'
23
- + - $ref: '#/components/schemas/TxnOrPublishRevocationsResult'
22
+ + - $ref: '#/components/schemas/PublishRevocations'
23
+ + - $ref: '#/components/schemas/TxnOrPublishRevocationsResult'
24
24
x-codegen-request-body-name: body
25
25
operationId: publish_revocations
26
26
/revocation/registries/created:
@@ -30,8 +30,8 @@ index 81a975a..ab4c13c 100644
30
30
schema:
31
31
- $ref: '#/components/schemas/TxnOrRevRegResult'
32
32
+ oneOf:
33
- + - $ref: '#/components/schemas/RevRegResult'
34
- + - $ref: '#/components/schemas/TxnOrRevRegResult'
33
+ + - $ref: '#/components/schemas/RevRegResult'
34
+ + - $ref: '#/components/schemas/TxnOrRevRegResult'
35
35
operationId: publish_rev_reg_def
36
36
/revocation/registry/{rev_reg_id}/entry:
37
37
post:
@@ -41,8 +41,8 @@ index 81a975a..ab4c13c 100644
41
41
schema:
42
42
- $ref: '#/components/schemas/TxnOrSchemaSendResult'
43
43
+ oneOf:
44
- + - $ref: '#/components/schemas/SchemaSendResult'
45
- + - $ref: '#/components/schemas/TxnOrSchemaSendResult'
44
+ + - $ref: '#/components/schemas/SchemaSendResult'
45
+ + - $ref: '#/components/schemas/TxnOrSchemaSendResult'
46
46
x-codegen-request-body-name: body
47
47
operationId: publish_schema
48
48
/schemas/created:
@@ -52,7 +52,7 @@ index 81a975a..ab4c13c 100644
52
52
type:
53
53
- type: object
54
54
+ enum:
55
- + - CL
55
+ + - CL
56
56
description: 'Signature type: CL for Camenisch-Lysyanskaya'
57
57
example: CL
58
58
value:
@@ -65,7 +65,30 @@ index 81a975a..ab4c13c 100644
65
65
properties:
66
66
credential_definition_id:
67
67
pattern: ^([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}):3:CL:(([1-9][0-9]*)|([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{21,22}:2:.+:[0-9.]+)):(.+)?$
68
- @@ -6111,18 +6122,14 @@ components:
68
+ @@ -5861,14 +5872,12 @@ components:
69
+ type: object
70
+ properties:
71
+ from:
72
+ - maximum: 18446744073709551615
73
+ minimum: 0
74
+ type: integer
75
+ description: Earliest time of interest in non-revocation interval
76
+ format: int32
77
+ example: 1640995199
78
+ to:
79
+ - maximum: 18446744073709551615
80
+ minimum: 0
81
+ type: integer
82
+ description: Latest time of interest in non-revocation interval
83
+ @@ -6030,7 +6039,6 @@ components:
84
+ description: Schema identifier
85
+ example: WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0
86
+ timestamp:
87
+ - maximum: 18446744073709551615
88
+ minimum: 0
89
+ type: integer
90
+ description: Timestamp epoch
91
+ @@ -6111,18 +6119,14 @@ components:
69
92
type: object
70
93
properties:
71
94
from:
@@ -84,7 +107,7 @@ index 81a975a..ab4c13c 100644
84
107
example: 1640995199
85
108
IndyProofReqPredSpec:
86
109
required:
87
- @@ -6168,18 +6175 ,14 @@ components:
110
+ @@ -6168,18 +6172 ,14 @@ components:
88
111
type: object
89
112
properties:
90
113
from:
@@ -103,7 +126,7 @@ index 81a975a..ab4c13c 100644
103
126
example: 1640995199
104
127
IndyProofRequest:
105
128
type: object
106
- @@ -6217,18 +6220 ,14 @@ components:
129
+ @@ -6217,18 +6217 ,14 @@ components:
107
130
type: object
108
131
properties:
109
132
from:
@@ -122,7 +145,15 @@ index 81a975a..ab4c13c 100644
122
145
example: 1640995199
123
146
IndyProofRequestedProof:
124
147
type: object
125
- @@ -7394,6 +7393,8 @@ components:
148
+ @@ -6316,7 +6312,6 @@ components:
149
+ a UUID)
150
+ example: 3fa85f64-5717-4562-b3fc-2c963f66afa6
151
+ timestamp:
152
+ - maximum: 18446744073709551615
153
+ minimum: 0
154
+ type: integer
155
+ description: Epoch timestamp of interest for non-revocation proof
156
+ @@ -7394,6 +7389,8 @@ components:
126
157
example: 0
127
158
RevRegResult:
128
159
type: object
@@ -131,15 +162,15 @@ index 81a975a..ab4c13c 100644
131
162
properties:
132
163
result:
133
164
$ref: '#/components/schemas/IssuerRevRegRecord'
134
- @@ -7545,6 +7546 ,7 @@ components:
165
+ @@ -7545,6 +7542 ,7 @@ components:
135
166
SchemaSendResult:
136
167
required:
137
168
- schema_id
138
169
+ - schema
139
170
type: object
140
171
properties:
141
172
schema:
142
- @@ -7683,10 +7685 ,7 @@ components:
173
+ @@ -7683,10 +7681 ,7 @@ components:
143
174
mechanism:
144
175
type: string
145
176
time:
@@ -150,31 +181,31 @@ index 81a975a..ab4c13c 100644
150
181
example: 1640995199
151
182
TAAInfo:
152
183
type: object
153
- @@ -7831,6 +7830 ,7 @@ components:
184
+ @@ -7831,6 +7826 ,7 @@ components:
154
185
example: 2021-12-31 23:59:59+00:00
155
186
TxnOrCredentialDefinitionSendResult:
156
187
type: object
157
188
+ additionalProperties: false
158
189
properties:
159
190
sent:
160
191
$ref: '#/components/schemas/CredentialDefinitionSendResult'
161
- @@ -7841,6 +7841 ,7 @@ components:
192
+ @@ -7841,6 +7837 ,7 @@ components:
162
193
- $ref: '#/components/schemas/TransactionRecord'
163
194
TxnOrPublishRevocationsResult:
164
195
type: object
165
196
+ additionalProperties: false
166
197
properties:
167
198
sent:
168
199
$ref: '#/components/schemas/PublishRevocations'
169
- @@ -7851,6 +7852 ,7 @@ components:
200
+ @@ -7851,6 +7848 ,7 @@ components:
170
201
- $ref: '#/components/schemas/TransactionRecord'
171
202
TxnOrRevRegResult:
172
203
type: object
173
204
+ additionalProperties: false
174
205
properties:
175
206
sent:
176
207
$ref: '#/components/schemas/RevRegResult'
177
- @@ -7861,6 +7863 ,7 @@ components:
208
+ @@ -7861,6 +7859 ,7 @@ components:
178
209
- $ref: '#/components/schemas/TransactionRecord'
179
210
TxnOrSchemaSendResult:
180
211
type: object
0 commit comments