File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,8 @@ to display the generated documentation for a config.
7070 * <strong >all_cities_available</strong > of user
7171 *
7272 * @_204 Successful MF!
73+ *
74+ * @some_field Description of this field from the rules method
7375 */
7476 class UpdateUserDataRequest extends FormRequest
7577 {
@@ -91,6 +93,7 @@ to display the generated documentation for a config.
9193 public function rules()
9294 {
9395 return [
96+ 'some_field' => 'string',
9497 'all_cities_available' => 'boolean',
9598 'free_comparison' => 'boolean'
9699 ];
@@ -102,6 +105,7 @@ to display the generated documentation for a config.
102105 - ** @summary ** - short description of request
103106 - ** @description ** - Implementation Notes
104107 - ** @_ 204** - Custom description of code of response. You can specify any code as you want.
108+ - ** @some_field** - Description of this field from the rules method
105109
106110 If you do not create a class Request, the summary, Implementation Notes and parameters will be empty.
107111 Plugin will collect codes and examples of responses only.
You can’t perform that action at this time.
0 commit comments