Skip to content

[Spike/Discussion] The proposal of the new requestBody decorator #3493

Closed

Description

@jannyHou

Description

A follow up story of #2654
In the spike story #2654, @jannyHou proposed a new signature @requestBody(spec, model, schemaOptions) to simplify the way of providing schema configs, the design is explained in file.

This story is created for further discussion:

The conversations are mainly tracked in: #2654, #3398 and #3466 (comment)

There are different proposals from @bajtos (I will summarize Miroslav's opinions later)
- @requestBody(specWithOptions, model)
- or @requestBody(spec, getModelSchemaRef(model, options))
- or any better signatures

Acceptance criteria

Activity

  1. added and removed on Aug 15, 2019
  2. added and removed on Sep 24, 2019
  3. emonddr commented on Oct 10, 2019

    @emonddr
    Contributor

    Let's have a meeting to discuss this first.

  4. stale commented on Dec 25, 2020

    @stale

    This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

  5. stale commented on Jul 14, 2021

    @stale

    This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions