Skip to content

Commit 3d6eb65

Browse files
committed
chore: add semi-colon to fix linter
DX-622
1 parent 41af80a commit 3d6eb65

File tree

1 file changed

+51
-51
lines changed

1 file changed

+51
-51
lines changed

packages/openapi-generator/test/openapi.test.ts

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -3851,43 +3851,43 @@ export const route = h.httpRoute({
38513851
200: t.literal('OK'),
38523852
},
38533853
});
3854-
`
3854+
`;
38553855

38563856
testCase("route with nested array examples", ROUTE_WITH_NESTED_ARRAY_EXAMPLES, {
3857-
"openapi": "3.0.3",
3858-
"info": {
3859-
"title": "Test",
3860-
"version": "1.0.0"
3857+
openapi: "3.0.3",
3858+
info: {
3859+
title: "Test",
3860+
version: "1.0.0"
38613861
},
3862-
"paths": {
3862+
paths: {
38633863
"/foo": {
3864-
"post": {
3865-
"parameters": [],
3866-
"requestBody": {
3867-
"content": {
3864+
post: {
3865+
parameters: [],
3866+
requestBody: {
3867+
content: {
38683868
"application/json": {
3869-
"schema": {
3870-
"type": "object",
3871-
"properties": {
3872-
"nested": {
3869+
schema: {
3870+
type: "object",
3871+
properties: {
3872+
nested: {
38733873
"$ref": "#/components/schemas/thirdLevel"
38743874
}
38753875
},
3876-
"required": [
3876+
required: [
38773877
"nested"
38783878
]
38793879
}
38803880
}
38813881
}
38823882
},
3883-
"responses": {
3884-
"200": {
3885-
"description": "OK",
3886-
"content": {
3883+
responses: {
3884+
200: {
3885+
description: "OK",
3886+
content: {
38873887
"application/json": {
3888-
"schema": {
3889-
"type": "string",
3890-
"enum": [
3888+
schema: {
3889+
type: "string",
3890+
enum: [
38913891
"OK"
38923892
]
38933893
}
@@ -3898,40 +3898,40 @@ testCase("route with nested array examples", ROUTE_WITH_NESTED_ARRAY_EXAMPLES, {
38983898
}
38993899
}
39003900
},
3901-
"components": {
3902-
"schemas": {
3903-
"firstLevel": {
3904-
"title": "firstLevel",
3905-
"type": "array",
3906-
"example": [ "a", "b" ],
3907-
"items": {
3908-
"type": "string"
3901+
components: {
3902+
schemas: {
3903+
firstLevel: {
3904+
title: "firstLevel",
3905+
type: "array",
3906+
example: [ "a", "b" ],
3907+
items: {
3908+
type: "string"
39093909
}
39103910
},
3911-
"secondLevel": {
3912-
"title": "secondLevel",
3913-
"type": "array",
3914-
"example": [ [ "a", "b" ], [ "c", "d" ] ],
3915-
"items": {
3916-
"type": "array",
3917-
"example": [ "a", "b" ],
3918-
"items": {
3919-
"type": "string"
3911+
secondLevel: {
3912+
title: "secondLevel",
3913+
type: "array",
3914+
example: [ [ "a", "b" ], [ "c", "d" ] ],
3915+
items: {
3916+
type: "array",
3917+
example: [ "a", "b" ],
3918+
items: {
3919+
type: "string"
39203920
}
39213921
}
39223922
},
3923-
"thirdLevel": {
3924-
"title": "thirdLevel",
3925-
"type": "array",
3926-
"example": [[["a"],["b"]],[["c"],["d"]]],
3927-
"items": {
3928-
"type": "array",
3929-
"example": [["a","b"],["c","d"]],
3930-
"items": {
3931-
"type": "array",
3932-
"example": ["a","b"],
3933-
"items": {
3934-
"type": "string"
3923+
thirdLevel: {
3924+
title: "thirdLevel",
3925+
type: "array",
3926+
example: [[["a"],["b"]],[["c"],["d"]]],
3927+
items: {
3928+
type: "array",
3929+
example: [["a","b"],["c","d"]],
3930+
items: {
3931+
type: "array",
3932+
example: ["a","b"],
3933+
items: {
3934+
type: "string"
39353935
}
39363936
}
39373937
}

0 commit comments

Comments
 (0)