You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenAPI 3.2: Import whole raw binary request bodies #1016
OpenAPI 3.2: Import whole raw binary request bodies
Problem. Importer-only wire-location gap. Whole raw binary response bodies and multipart parts are supported; whole raw request bodies are outside the importer subset.
Reproduce. Run go test ./internal/openapiimport -run '^TestImportedBinaryRepresentationLocations$' -count=1 from the repository root. The focused existing test exercises the current boundary. Minimal schema: OAS 3.2 requestBody required with application/octet-stream: {schema: {type: string, format: binary}}; compare with supported whole response-body occurrence. Existing probe: TestImportedBinaryRepresentationLocations.
Expected behavior. Carry raw request body ownership through importer, rendered DSL, HTTP generated encoder, and OpenAPI regeneration without base64 conversion; test empty/nonempty octets, required/optional bodies, errors, and compile generated Go.
Activity