Skip to content

Commit

Permalink
doc(pollux): fix megalinter errors #2
Browse files Browse the repository at this point in the history
  • Loading branch information
yshyn-iohk committed Sep 1, 2022
1 parent 6e6c04f commit 5224485
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions mercury/api/mercury-openapi-spec-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ info:
servers:
- url: https://mailbox.mediator.atalaprism.io

tags:
- name: Mailbox Mediator
description: OpenAPI for the Mailbox Mediator

paths:
/:
post:
tags:
- Mailbox Mediator
operationId: postMessage
summary: DID Comm
description: Mediator accepts DID Comm message
requestBody:
Expand Down Expand Up @@ -55,7 +62,16 @@ components:
type: array
items:
$ref: "#/components/schemas/Recipient"

example:
- encrypted_key: "3n1olyBR3nY7ZGAprOx-b7wYAKza6cvOYjNwVg3miTnbLwPP_FmE1A"
header:
kid: "did:example:bob#key-x25519-1"
- encrypted_key: "j5eSzn3kCrIkhQAWPnEwrFPMW6hG0zF_y37gUvvc5gvlzsuNX4hXrQ"
header:
kid: "did:example:bob#key-x25519-2"
- encrypted_key: "TEWlqlq-ao7Lbynf0oZYhxs7ZB39SUWBCK4qjqQqfeItfwmNyDm73A"
header:
kid: "did:example:bob#key-x25519-3"
tag:
type: string
format: Base64URL
Expand All @@ -75,15 +91,9 @@ components:
header:
$ref: "#/components/schemas/Header"
example:
- encrypted_key: "3n1olyBR3nY7ZGAprOx-b7wYAKza6cvOYjNwVg3miTnbLwPP_FmE1A"
header:
kid: "did:example:bob#key-x25519-1"
- encrypted_key: "j5eSzn3kCrIkhQAWPnEwrFPMW6hG0zF_y37gUvvc5gvlzsuNX4hXrQ"
header:
kid: "did:example:bob#key-x25519-2"
- encrypted_key: "TEWlqlq-ao7Lbynf0oZYhxs7ZB39SUWBCK4qjqQqfeItfwmNyDm73A"
header:
kid: "did:example:bob#key-x25519-3"
encrypted_key: "3n1olyBR3nY7ZGAprOx-b7wYAKza6cvOYjNwVg3miTnbLwPP_FmE1A"
header:
kid: "did:example:bob#key-x25519-1"

Header:
type: object
Expand Down

0 comments on commit 5224485

Please sign in to comment.