-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Operations which produce octet/stream
responses will be resolved into generated definitions using Buffer
as defined in #293
This breaks the build of SDK packages as Buffer
is not a native Typescript type
Example
swagger: '2.0'
info:
version: 1.0.0
title: API
host: localhost
basePath: /api/v1
schemes:
- https
paths:
/mypath:
get:
summary: An endpoint
produces:
- application/octet-stream
responses:
'200':
description: Success
schema:
format: binary
type: string
'400':
description: Bad Request
'500':
description: Internal Server Error
requestTypes.ts:2047:8 - error TS4016: Type parameter 'A0' of exported function has or is using private name 'Buffer'.
jacopocarlini
Metadata
Metadata
Assignees
Labels
No labels