fix: align OpenAPI 3.x.y file uploads with specification (#10409)
Refs #9278
This commit is contained in:
@@ -14,6 +14,7 @@ import Schemes from "./components/schemes"
|
||||
import SchemesContainer from "./containers/schemes"
|
||||
import * as JSONSchemaComponents from "./components/json-schema-components"
|
||||
import { ModelExtensions } from "./components/model-extensions"
|
||||
import { hasSchemaType } from "./fn"
|
||||
|
||||
const JSONSchema5Plugin = () => ({
|
||||
components: {
|
||||
@@ -31,6 +32,9 @@ const JSONSchema5Plugin = () => ({
|
||||
SchemesContainer,
|
||||
...JSONSchemaComponents,
|
||||
},
|
||||
fn: {
|
||||
hasSchemaType,
|
||||
},
|
||||
})
|
||||
|
||||
export default JSONSchema5Plugin
|
||||
|
||||
Reference in New Issue
Block a user