@@ -282,7 +282,34 @@ paths:
282282 content :
283283 application/json :
284284 schema :
285- type : string
285+ type : object
286+ required :
287+ - idCert
288+ - messages
289+ properties :
290+ idCert :
291+ type : string
292+ description : The ID-Cert that the following messages' signatures correspond to.
293+ messages :
294+ type : array
295+ items :
296+ type : object
297+ properties :
298+ signature :
299+ type : string
300+ description : Signature of the whole message
301+ content :
302+ type : string
303+ description : Arbitrary content `T`. This depends on the specific implementation or extension of the protocol.
304+ required :
305+ - signature
306+ - content
307+ description : The actual message.
308+ description : |-
309+ A message batch, as received from and sent to the server in the context of re-signing messages.
310+ This type is generic over `T`, where `T` represents the content of the actual message. This
311+ means, that the specific message content depends on the concrete implementation or extension
312+ of the polyproto protocol.
286313 ' 403 ' :
287314 description : Messages. The distinct format of messages is up to the specific p2 extension to define.
288315 tags :
@@ -309,9 +336,34 @@ paths:
309336 content :
310337 application/json :
311338 schema :
312- type : array
313- items :
314- type : string
339+ type : object
340+ required :
341+ - idCert
342+ - messages
343+ properties :
344+ idCert :
345+ type : string
346+ description : The ID-Cert that the following messages' signatures correspond to.
347+ messages :
348+ type : array
349+ items :
350+ type : object
351+ properties :
352+ signature :
353+ type : string
354+ description : Signature of the whole message
355+ content :
356+ type : string
357+ description : Arbitrary content `T`. This depends on the specific implementation or extension of the protocol.
358+ required :
359+ - signature
360+ - content
361+ description : The actual message.
362+ description : |-
363+ A message batch, as received from and sent to the server in the context of re-signing messages.
364+ This type is generic over `T`, where `T` represents the content of the actual message. This
365+ means, that the specific message content depends on the concrete implementation or extension
366+ of the polyproto protocol.
315367 description : Messages. The distinct format of messages is up to the specific p2 extension to define.
316368 security :
317369 - BearerAuth : []
0 commit comments