Skip to content

Improve the @requestBody  #3496

Description

@jannyHou

Suggestion

A follow-up story for #2654

Use Cases

Implement @requestBody(spec, model, schemaOptions) as the new requestBody decorator.

Examples

See the Create endpoint and Update endpoint.

Acceptance criteria

  • Modify the current @requestBody() according to the spike code, pass
    existing tests across all repos.
  • Add more unit tests to verify all the signatures.
  • Fix the type conflict detect, see test case 'catches type conflict', and
    discussion in
    comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions