File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed
Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Please refer to the list of [all features](../docs/features.md). To check the fe
88
99### Paths
1010
11- + Supports Controller annotation in combination with empty HttpMethod annotation
11+ + Supports Controller annotation combined with empty HttpMethod annotation
1212 + _ Example:_
1313```
1414@Controller("/todos")
@@ -19,13 +19,13 @@ class TodosController {
1919}
2020```
2121
22- + Supports path declaration in combination of Controller annotation and HttpMethod annotation
22+ + Supports Controller annotation combined with HttpMethod annotation
2323 + _ Example:_
2424```
2525@Controller("/todo")
2626class TodosController {
2727
28- @Get("list")
28+ @Get("/ list")
2929 fun todos() { }
3030}
3131```
@@ -107,6 +107,26 @@ class TodosController {
107107
108108+ Supports optional header parameter based on the existence of a default value
109109 + _ Examples:_ ` @Header("allow-cache", defaultValue = "true") otherName: String `
110+
111+ ### Consumes
112+
113+ + Supports default media type ` application/json `
114+
115+ + Supports single and multiple media type declarations in Controller annotation
116+
117+ + Supports Consumes annotation with single and multiple media type declarations on class and function
118+
119+ + Supports Consumes annotation overriding the value of the Controller annotation
120+
121+ ### Produces
122+
123+ + Supports default media type ` application/json `
124+
125+ + Supports single and multiple media type declarations in Controller annotation
126+
127+ + Supports Produces annotation with single and multiple media type declarations on class and function
128+
129+ + Supports Produces annotation overriding the value of the Controller annotation
110130
111131## Usage
112132
You can’t perform that action at this time.
0 commit comments