We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace93df commit 20c2c74Copy full SHA for 20c2c74
src/core/plugins/oas31/wrap-components/model.jsx
@@ -4,10 +4,6 @@
4
import React from "react"
5
6
import { createOnlyOAS31ComponentWrapper } from "../fn"
7
-import {
8
- makeIsExpandable,
9
- getProperties,
10
-} from "../json-schema-2020-12-extensions/fn"
11
12
const ModelWrapper = createOnlyOAS31ComponentWrapper(
13
({ getSystem, ...props }) => {
@@ -139,11 +135,8 @@ const ModelWrapper = createOnlyOAS31ComponentWrapper(
139
135
},
140
136
fn: {
141
137
upperFirst: fn.upperFirst,
142
- isExpandable: makeIsExpandable(
143
- fn.jsonSchema202012.isExpandable,
144
- getSystem
145
- ),
146
138
+ isExpandable: fn.jsonSchema202012.isExpandable,
+ getProperties: fn.jsonSchema202012.getProperties,
147
148
})
149
0 commit comments