Skip to content

Commit

Permalink
Update examples-for-every-schema.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Tolbert authored Jul 26, 2024
1 parent 8836a0e commit c22ff59
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/examples-for-every-schema.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe(ruleName, () => {
const expected = [
{
"code": "examples-for-every-schema",
"message": "For every schema provided in the OAS document, at least one example must be present; example or examples is missing in the object",
"message": "Examples should be provided. The schema is missing an example. Update the schema to include an example.",
"path": [
"paths",
"/test",
Expand All @@ -59,7 +59,7 @@ describe(ruleName, () => {
},
{
"code": "examples-for-every-schema",
"message": "For every schema provided in the OAS document, at least one example must be present; example or examples is missing in the object",
"message": "Examples should be provided. The schema is missing an example. Update the schema to include an example.",
"path": [
"paths",
"/test",
Expand All @@ -83,7 +83,7 @@ describe(ruleName, () => {
},
{
"code": "examples-for-every-schema",
"message": "For every schema provided in the OAS document, at least one example must be present; example or examples is missing in the object",
"message": "Examples should be provided. The schema is missing an example. Update the schema to include an example.",
"path": [
"paths",
"/test",
Expand All @@ -107,7 +107,7 @@ describe(ruleName, () => {
},
{
"code": "examples-for-every-schema",
"message": "For every schema provided in the OAS document, at least one example must be present; example or examples is missing in the object",
"message": "Examples should be provided. The schema is missing an example. Update the schema to include an example.",
"path": [
"paths",
"/test",
Expand Down

0 comments on commit c22ff59

Please sign in to comment.