File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 77use App \Helpers \MetaFormats \FormatDefinitions \SuccessResponseFormat ;
88use App \Helpers \MetaFormats \Validators \VObject ;
99
10+ /**
11+ * Class containing relevant information used to make swagger responses.
12+ */
1013class ResponseData
1114{
15+ /**
16+ * @var AnnotationParameterData[]
17+ */
1218 public array $ responseParams ;
1319 public string $ description ;
1420 public int $ statusCode ;
1521 public bool $ useSuccessWrapper ;
1622
23+ /**
24+ * @param array $responseParams AnnotationParameterData describing the response object.
25+ * @param string $description The description of the response.
26+ * @param int $statusCode The response status code.
27+ * @param bool $useSuccessWrapper Whether the response should be contained in
28+ * the "BasePresenter::sendSuccessResponse" wrapper.
29+ */
1730 public function __construct (
1831 array $ responseParams ,
1932 string $ description ,
You can’t perform that action at this time.
0 commit comments