Skip to content

Commit 6c862d2

Browse files
committed
Fix type
1 parent 44541a0 commit 6c862d2

File tree

1 file changed

+1
-1
lines changed
  • packages/docusaurus-plugin-openapi-docs/src/openapi

1 file changed

+1
-1
lines changed

packages/docusaurus-plugin-openapi-docs/src/openapi/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export interface ParameterObject {
197197
param?: Object;
198198
// ignoring stylings: matrix, label, form, simple, spaceDelimited,
199199
// pipeDelimited and deepObject
200-
"x-enumDescriptions": Record<string, string>;
200+
"x-enumDescriptions"?: Record<string, string>;
201201
}
202202

203203
export interface ParameterObjectWithRef {

0 commit comments

Comments
 (0)