Skip to content

Optional response types result in schema error #156

@sagikazarmark

Description

@sagikazarmark

When creating a service that optionally returns a response (SomeResponse | None), the UI fails to generate the response schema.

Not sure if this is a python related issue, but I only noticed it with this SDK.

(Checked the generated openapi schema, the response type simply says true in the json)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions