Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jannyHou committed Jul 31, 2019
1 parent 147a2f4 commit 655a173
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/openapi-v3/_spike-request-body.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,9 @@ class MyController1 {
class MyController2 {
@put('/Product')
update(
@requestBody2(
{description: 'Update a product', required: true},
Product,
{partial: true},
)
@requestBody2({description: 'Update a product', required: true}, Product, {
partial: true,
})
product: Partial<Product>,
) {}
}
Expand Down

0 comments on commit 655a173

Please sign in to comment.