Skip to content

Commit

Permalink
feat: update http decorator and version
Browse files Browse the repository at this point in the history
  • Loading branch information
rsaz committed Jun 7, 2024
1 parent 2b459ff commit 51dbffa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/overview/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Decorators available for your controller methods.
| @Head | Binds a controller method to a HEAD HTTP verb. | @Head("/path") |
| @Delete | Binds a controller method to a DELETE HTTP verb. | @Delete("/path") |
| @Method | Binds a controller method to a specified HTTP verb. | @Method("verb", "/path") |
| @Http | Sets the HTTP status code for the response. | @Http(200) |

### Parameter Decorators

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Decoradores disponíveis para seus métodos de controlador.
| @Head | Vincula um método de controlador a um verbo HTTP HEAD. | @Head("/path") |
| @Delete | Vincula um método de controlador a um verbo HTTP DELETE. | @Delete("/path") |
| @Method | Vincula um método de controlador a um verbo HTTP especificado. | @Method("verb", "/path") |
| @Http | Define o código de status HTTP para a resposta. | @Http(200) |

### Decoradores de parâmetros

Expand Down

0 comments on commit 51dbffa

Please sign in to comment.