Skip to content

Commit 1c820e5

Browse files
prettier fix
1 parent b48e430 commit 1c820e5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/spectral/ipa/__tests__/createMethodRequestBodyIsRequestSuffixedObject.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ testRule('xgen-IPA-106-create-method-request-body-is-request-suffixed-object', [
117117
content: {
118118
'application/vnd.atlas.2023-01-01+json': {
119119
schema: {
120-
type: "object",
120+
type: 'object',
121121
},
122122
},
123123
},
@@ -204,7 +204,7 @@ testRule('xgen-IPA-106-create-method-request-body-is-request-suffixed-object', [
204204
content: {
205205
'application/vnd.atlas.2023-01-01+json': {
206206
schema: {
207-
type: "object",
207+
type: 'object',
208208
},
209209
'x-xgen-IPA-exception': {
210210
'xgen-IPA-106-create-method-request-body-is-request-suffixed-object': 'reason',

tools/spectral/ipa/rulesets/functions/createMethodRequestBodyIsRequestSuffixedObject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default (input, _, { path, documentInventory }) => {
2424

2525
if (contentPerMediaType.schema) {
2626
const schema = contentPerMediaType.schema;
27-
if(!schema.$ref) {
27+
if (!schema.$ref) {
2828
return collectAndReturnViolation(path, RULE_NAME, ERROR_MESSAGE_SCHEMA_REF);
2929
}
3030

0 commit comments

Comments
 (0)