Skip to content

Response type helpers only include 200 response codes #88

Open
@adamdehaven

Description

@adamdehaven

Environment

  • Operating System: Darwin
  • Node Version: v22.12.0
  • Nuxt Version: 3.15.4
  • CLI Version: 3.22.5
  • Nitro Version: 2.10.4
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

The generated Response types here only include 200 response codes.

Describe the bug

In order to utilize the Response type helpers in a downstream application, all 2xx response codes should be supported in order to utilize interfaces from endpoints that return a non-200 status (e.g. 201)

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions