Skip to content

Commit

Permalink
fixed malformed yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanHonzikSPS committed Jul 10, 2024
1 parent bdd980a commit 1bda57d
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions rulesets/test/naming/sps-ref-property-name.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,29 @@ describe("sps-ref-property-name", () => {
post:
summary: Create a new Rule
requestBody:
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Rule'
- properties:
ref:
readOnly: true
priority:
properties:
id:
readOnly: false
name:
readOnly: true
type:
properties:
id:
readOnly: false
name:
readOnly: true
ref:
readOnly: true
required: true
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/Rule'
- properties:
ref:
readOnly: true
priority:
properties:
id:
readOnly: false
name:
readOnly: true
type:
properties:
id:
readOnly: false
name:
readOnly: true
ref:
readOnly: true
`;
await spectral.validateSuccess(spec, ruleName);
});
Expand Down

0 comments on commit 1bda57d

Please sign in to comment.