Closed
Description
freeeAPIスキーマ
https://raw.githubusercontent.com/freee/freee-api-schema/master/v2020_06_15/open-api-3/api-schema.yml
の下記の箇所
paths:
"/api/1/journals/reports/{id}/download"
get:
responses:
'200':
content:
application/pdf:
schema:
format: binary
type: string
他、
content:
image/*:
schema:
format: binary
type: string
というパターンもあります。
The current behavior
返り値の型が「string」になる
The expected behavior
blobなどbinary系の型を付ける
なお、実際にどの型を付けるべきかは、ユーザ側の環境依存で変わる可能性が高いので、ユーザ側で付ける型を変えられれば理想的だと思います
Metadata
Metadata
Assignees
Labels
No labels