Skip to content

Commit

Permalink
ci: Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Jul 18, 2024
1 parent df6291c commit b8e7a28
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/lib/blueprint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ const createResponse = (responses: OpenapiOperation['responses']): Response => {
responseType: 'void',
description:
'description' in okResponse &&
typeof okResponse.description === 'string'
typeof okResponse.description === 'string'
? okResponse.description
: '',
}
Expand All @@ -324,7 +324,7 @@ const createResponse = (responses: OpenapiOperation['responses']): Response => {
responseType: 'void',
description:
'description' in okResponse &&
typeof okResponse.description === 'string'
typeof okResponse.description === 'string'
? okResponse.description
: '',
}
Expand All @@ -336,7 +336,7 @@ const createResponse = (responses: OpenapiOperation['responses']): Response => {
responseType: 'void',
description:
'description' in okResponse &&
typeof okResponse.description === 'string'
typeof okResponse.description === 'string'
? okResponse.description
: '',
}
Expand All @@ -359,7 +359,7 @@ const createResponse = (responses: OpenapiOperation['responses']): Response => {
: 'unknown',
description:
'description' in okResponse &&
typeof okResponse.description === 'string'
typeof okResponse.description === 'string'
? okResponse.description
: '',
}
Expand Down Expand Up @@ -391,7 +391,7 @@ const createResponse = (responses: OpenapiOperation['responses']): Response => {
: 'unknown',
description:
'description' in okResponse &&
typeof okResponse.description === 'string'
typeof okResponse.description === 'string'
? okResponse.description
: '',
}
Expand All @@ -408,9 +408,9 @@ const createResponse = (responses: OpenapiOperation['responses']): Response => {
const PropertySchema = z.object({
name: z.string(),
description: z.string().default(''),
isDeprecated: z.string().default("false"),
isDeprecated: z.string().default('false'),
deprecationMessage: z.string().default(''),
isUndocumented: z.string().default("true"),
isUndocumented: z.string().default('true'),
'x-undocumented': z.string().default('true'),
'x-deprecated': z.string().default('false'),
})
Expand Down Expand Up @@ -452,8 +452,8 @@ const createProperties = (
type: 'object',
properties:
'properties' in prop &&
typeof prop.properties === 'object' &&
prop.properties !== null
typeof prop.properties === 'object' &&
prop.properties !== null
? createProperties(prop.properties)
: [],
}
Expand Down

0 comments on commit b8e7a28

Please sign in to comment.