Skip to content

[FEATURE] (type-safe-api) Better code generation for "default" responses in OpenAPI #847

@cogwirrel

Description

@cogwirrel

Describe the feature

OpenAPI lets you define a default response.

Currently code generation treats this as a 0 response code, however we should generate code which conforms better to the specification.

Use Case

More intuitive behaviour for a given OpenAPI spec.

Proposed Solution

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

PDK version used

0.23.60

What languages will this feature affect?

Typescript, Java, Python

Environment details (OS name and version, etc.)

OSX

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions