Norman Pellet
Norman Pellet
I see there's downgrade code already https://github.com/danielgtaylor/huma/blob/c7a8a7965d84e4aded17671da32bea8c69e4201e/openapi.go#L1624-L1639
Here's our schema ```yaml requestBody: content: multipart/form-data: encoding: Data: contentType: text/plain file: contentType: text/plain schema: properties: Data: $ref: "#/components/schemas/CertificateImportData" file: contentEncoding: binary contentMediaType: application/octet-stream format: binary type: string required: -...
Ok this is indeed not 3.0.3 valid, and it's under the SchemaObject specification: https://spec.openapis.org/oas/v3.0.3#schema-object In __general__ (not just for requestBody or for multipart encoding), those 2 properties are not allowed...
I would propose something like https://github.com/danielgtaylor/huma/pull/919