SpecPath
class SpecPath implements JsonSerializable (View source)
Properties
protected string | $path | ||
protected string | $method | ||
protected string | $tags | ||
protected string | $summary | ||
protected SpecParameter[] | $parameters | ||
protected SpecSecurity | $security | ||
protected SpecRequestBody | $requestBody | ||
protected SpecResponseList | $responses |
Methods
__construct(string $path, string $method, string $tags, string $summary = '')
SpecBuilderPath constructor.
jsonSerialize()
No description
Details
__construct(string $path, string $method, string $tags, string $summary = '')
SpecBuilderPath constructor.
jsonSerialize()
No description
addParameter(ParameterInterface $parameter)
No description
addResponse(SpecResponse $response)
No description
setSecurity(SpecSecurity $security)
No description
setRequestBody(SpecRequestBody $requestBody)
No description