Skip to content

Commit

Permalink
Some objects in the OpenAPI spec are incorrect (#309)
Browse files Browse the repository at this point in the history
* fix: remove required atType

* fix: add peerIdentity to realtionship

* fix: make required
  • Loading branch information
jkoenig134 authored Nov 11, 2024
1 parent 4430496 commit 2910857
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/modules/coreHttpApi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5113,7 +5113,6 @@ components:
- $ref: "#/components/schemas/RequestResponseContentItem"
- $ref: "#/components/schemas/RequestResponseContentItemGroup"
required:
- "@type"
- result
- requestId
- items
Expand Down Expand Up @@ -5615,6 +5614,20 @@ components:
- $ref: "#/components/schemas/Address"
nullable: false
description: The address of the peer identity.
peerIdentity:
type: object
additionalProperties: false
properties:
address:
allOf:
- $ref: "#/components/schemas/Address"
nullable: false
publicKey:
type: string
nullable: false
required:
- address
- publicKey
peerDeletionInfo:
type: object
additionalProperties: false
Expand Down Expand Up @@ -5646,6 +5659,7 @@ components:
- template
- status
- peer
- peerIdentity
- creationContent
- auditLog

Expand Down

0 comments on commit 2910857

Please sign in to comment.