Skip to content

Commit

Permalink
fix(swagger-ui-react): fix prop type for defaultModelRendering
Browse files Browse the repository at this point in the history
Refs #7783
  • Loading branch information
char0n committed Jan 24, 2022
1 parent 8b1c4a7 commit 6b10708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flavors/swagger-ui-react/index.jsx
Expand Up @@ -108,7 +108,7 @@ SwaggerUI.propTypes = {
showMutatedRequest: PropTypes.bool,
defaultModelExpandDepth: PropTypes.number,
defaultModelsExpandDepth: PropTypes.number,
defaultModelRendering: PropTypes.oneOf["example", "model"],
defaultModelRendering: PropTypes.oneOf(["example", "model"]),
presets: PropTypes.arrayOf(PropTypes.func),
deepLinking: PropTypes.bool,
showExtensions: PropTypes.bool,
Expand Down

0 comments on commit 6b10708

Please sign in to comment.