Skip to content

Commit 6b10708

Browse files
committed
fix(swagger-ui-react): fix prop type for defaultModelRendering
Refs #7783
1 parent 8b1c4a7 commit 6b10708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flavors/swagger-ui-react/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ SwaggerUI.propTypes = {
108108
showMutatedRequest: PropTypes.bool,
109109
defaultModelExpandDepth: PropTypes.number,
110110
defaultModelsExpandDepth: PropTypes.number,
111-
defaultModelRendering: PropTypes.oneOf["example", "model"],
111+
defaultModelRendering: PropTypes.oneOf(["example", "model"]),
112112
presets: PropTypes.arrayOf(PropTypes.func),
113113
deepLinking: PropTypes.bool,
114114
showExtensions: PropTypes.bool,

0 commit comments

Comments
 (0)