Skip to content

Commit 06b1d88

Browse files
committed
fix: format
1 parent 0c7f512 commit 06b1d88

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/openapi-code-generator/src/typescript/server/server-operation-builder.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type {Input} from "../../core/input"
22
import {logger} from "../../core/logger"
3-
import type { IRModel, IROperation } from "../../core/openapi-types-normalized"
3+
import type {IRModel, IROperation} from "../../core/openapi-types-normalized"
44
import {extractPlaceholders} from "../../core/openapi-utils"
55
import type {SchemaBuilder} from "../common/schema-builders/schema-builder"
66
import type {TypeBuilder} from "../common/type-builder"
@@ -211,7 +211,6 @@ export class ServerOperationBuilder {
211211
type = this.types.schemaObjectToType($ref)
212212
}
213213

214-
215214
const reflectionParameters = parameters.map((it) => ({
216215
name: it.name,
217216
explode: it.explode,
@@ -288,7 +287,14 @@ export class ServerOperationBuilder {
288287

289288
for (const key in schema.properties) {
290289
properties[key] = this.queryParameterRuntimeSchema(
291-
this.input.schema(schema.properties[key] ?? {isIRModel: true, nullable: false, readOnly: false, type: "any"}),
290+
this.input.schema(
291+
schema.properties[key] ?? {
292+
isIRModel: true,
293+
nullable: false,
294+
readOnly: false,
295+
type: "any",
296+
},
297+
),
292298
)
293299
}
294300

0 commit comments

Comments
 (0)