Skip to content

Commit

Permalink
docs: adding test and applying the changes to the definition, instead…
Browse files Browse the repository at this point in the history
… of the generated schema
  • Loading branch information
IsmaelMartinez committed Oct 1, 2024
1 parent f2c1d46 commit 3114348
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 4 additions & 0 deletions definitions/3.0.0/messageObject.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
"type": "string",
"description": "A brief summary of the message."
},
"version": {
"type": "string",
"description": "A version for the message."
},
"name": {
"type": "string",
"description": "Name of the message."
Expand Down
4 changes: 0 additions & 4 deletions schemas/3.0.0-without-$id.json
Original file line number Diff line number Diff line change
Expand Up @@ -2542,10 +2542,6 @@
"type": "string",
"description": "A brief summary of the message."
},
"version": {
"type": "string",
"description": "A version for the message."
},
"name": {
"type": "string",
"description": "Name of the message."
Expand Down
4 changes: 0 additions & 4 deletions schemas/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -2594,10 +2594,6 @@
"type": "string",
"description": "A brief summary of the message."
},
"version": {
"type": "string",
"description": "A version for the message."
},
"name": {
"type": "string",
"description": "Name of the message."
Expand Down
1 change: 1 addition & 0 deletions test/definitions/3.0.0/models/channel/message.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const data = new JsonSchemaTestSuiteData(
{
"name": "UserSignup",
"title": "User signup",
"version": "1.0.0",
"summary": "Action to sign a user up.",
"description": "A longer description",
"contentType": "application/json",
Expand Down

0 comments on commit 3114348

Please sign in to comment.