feat(swagger-ui-react): add showCommonExtensions option (#8436)
This commit is contained in:
@@ -114,6 +114,12 @@ Controls the display of vendor extension (`x-`) fields and values for Operations
|
||||
|
||||
⚠️ This prop is currently only applied once, on mount. Changes to this prop's value will not be propagated to the underlying Swagger UI instance. A future version of this module will remove this limitation, and the change will not be considered a breaking change.
|
||||
|
||||
#### `showCommonExtensions`: PropTypes.bool
|
||||
|
||||
Controls the display of extensions (pattern, maxLength, minLength, maximum, minimum) fields and values for Parameters.
|
||||
|
||||
⚠️ This prop is currently only applied once, on mount. Changes to this prop's value will not be propagated to the underlying Swagger UI instance. A future version of this module will remove this limitation, and the change will not be considered a breaking change.
|
||||
|
||||
#### `showMutatedRequest`: PropTypes.bool
|
||||
|
||||
If set to `true`, uses the mutated request returned from a requestInterceptor to produce the curl command in the UI, otherwise the request before the requestInterceptor was applied is used.
|
||||
|
||||
Reference in New Issue
Block a user