fix: align OpenAPI 3.x.y file uploads with specification (#10409)

Refs #9278
This commit is contained in:
Oliwia Rogala
2025-04-11 13:43:44 +02:00
committed by GitHub
parent 22adad3a2e
commit c29e7126c9
19 changed files with 812 additions and 200 deletions

View File

@@ -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