8000 [server] schema/doc/serializers: FileField type is always string/binary · Issue #151 · Parisson/TimeSide · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[server] schema/doc/serializers: FileField type is always string/binary #151
Open
@gnuletik

Description

@gnuletik

For example, the retrieveItem operation's return type (you need to click on the 200 button to show the response types) is described as string <binary>.
In fact, the input type is string <binary> but the return type should be string <url>.

The OpenAPI specs example has an example for file uploads but there is no example on how it should behave with a Component referenced (as the schema is using).

Maybe we should use a different component for the request type and response type?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0