Skip to content

Commit 54ad5e4

Browse files
authored
Fix convertConstToEnum type typo
Signed-off-by: Graham Rogers <graham@ophelos.com>
1 parent 3d8eb35 commit 54ad5e4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

index.d.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,17 +160,17 @@ declare namespace fastifySwagger {
160160
/** `i` is a local counter to generate a unique key. */
161161
i: number
162162
) => string;
163-
164-
/**
165-
* Whether to convert const definitions to enum definitions.
166-
*
167-
* const support was added in OpenAPI 3.1, but not all tools support it.
168-
* This option only affects OpenAPI documents.
169-
*
170-
* @default true
171-
*/
172-
convertConstToEnum?: boolean;
173163
}
164+
165+
/**
166+
* Whether to convert const definitions to enum definitions.
167+
*
168+
* const support was added in OpenAPI 3.1, but not all tools support it.
169+
* This option only affects OpenAPI documents.
170+
*
171+
* @default true
172+
*/
173+
convertConstToEnum?: boolean;
174174
}
175175

176176
export interface StaticPathSpec {

0 commit comments

Comments
 (0)