feat(oas31): add support for includeReadOnly/WriteOnly options (#8675)
Refs #8513
This commit is contained in:
@@ -21,10 +21,7 @@ const PatternProperties = ({ schema }) => {
|
||||
<div className="json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties">
|
||||
<ul>
|
||||
{Object.entries(patternProperties).map(([propertyName, schema]) => (
|
||||
<li
|
||||
key={propertyName}
|
||||
className="json-schema-2020-12-property json-schema-2020-12-property"
|
||||
>
|
||||
<li key={propertyName} className="json-schema-2020-12-property">
|
||||
<JSONSchema name={propertyName} schema={schema} />
|
||||
</li>
|
||||
))}
|
||||
|
||||
@@ -45,7 +45,7 @@ import ExpandDeepButton from "./components/ExpandDeepButton/ExpandDeepButton"
|
||||
import ChevronRightIcon from "./components/icons/ChevronRight"
|
||||
import { upperFirst, hasKeyword, isExpandable } from "./fn"
|
||||
import { JSONSchemaDeepExpansionContext } from "./context"
|
||||
import { useFn, useComponent, useIsExpandedDeeply } from "./hooks"
|
||||
import { useFn, useConfig, useComponent, useIsExpandedDeeply } from "./hooks"
|
||||
import { withJSONSchemaContext } from "./hoc"
|
||||
|
||||
const JSONSchema202012Plugin = () => ({
|
||||
@@ -101,6 +101,7 @@ const JSONSchema202012Plugin = () => ({
|
||||
isExpandable,
|
||||
hasKeyword,
|
||||
useFn,
|
||||
useConfig,
|
||||
useComponent,
|
||||
useIsExpandedDeeply,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user