fix(api-docs): Corrected styling of nested objects in AsyncAPI to avoid inappropriate uppercasing of nested objects

Fixes #16848

Signed-off-by: Justin Edelson <jedelson@pagerduty.com>
This commit is contained in:
Justin Edelson
2023-03-14 10:44:44 -04:00
parent b72087cb53
commit ca50c3bbea
3 changed files with 26 additions and 0 deletions
@@ -133,6 +133,8 @@ spec:
description: Light intensity measured in lumens.
sentAt:
$ref: "#/components/schemas/sentAt"
sentBy:
$ref: "#/components/schemas/sentBy"
turnOnOffPayload:
type: object
properties:
@@ -144,6 +146,8 @@ spec:
description: Whether to turn on or off the light.
sentAt:
$ref: "#/components/schemas/sentAt"
sentBy:
$ref: "#/components/schemas/sentBy"
dimLightPayload:
type: object
properties:
@@ -154,10 +158,25 @@ spec:
maximum: 100
sentAt:
$ref: "#/components/schemas/sentAt"
sentBy:
$ref: "#/components/schemas/sentBy"
sentAt:
type: string
format: date-time
description: Date and time when the message was sent.
sentBy:
type: object
description: Description of the message sender.
properties:
name:
type: string
description: Name of the sender.
type:
type: string
description: Type of the sender.
enum:
- user
- machine
securitySchemes:
apiKey: