-
-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(core): schema viewer now renders yaml files (#998)
* feat(core): schema viewer now renders yaml files * Create yellow-planes-hope.md
- Loading branch information
Showing
6 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@eventcatalog/core": patch | ||
--- | ||
|
||
feat(core): schema viewer now renders yaml files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...ples/default/domains/Orders/services/InventoryService/events/InventoryAdjusted/schema.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
$schema: http://json-schema.org/draft-07/schema# | ||
title: Employee | ||
type: object | ||
description: A record representing an employee | ||
properties: | ||
Name: | ||
type: string | ||
description: The name of the employee | ||
Age: | ||
type: integer | ||
description: The age of the employee | ||
Department: | ||
type: string | ||
description: The department where the employee works | ||
Position: | ||
type: string | ||
description: The position or title of the employee within the department | ||
Salary: | ||
type: number | ||
format: double | ||
description: The salary of the employee | ||
JoinDate: | ||
type: string | ||
format: date | ||
description: The date when the employee joined the company | ||
required: | ||
- Name | ||
- Age | ||
- Department | ||
- Position | ||
- Salary | ||
- JoinDate |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters