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

addParameter(ParameterInterface $parameter)

No description

addResponse(SpecResponse $response)

No description

setSecurity(SpecSecurity $security)

No description

setRequestBody(SpecRequestBody $requestBody)

No description

Details

__construct(string $path, string $method, string $tags, string $summary = '')

SpecBuilderPath constructor.

Parameters

string $path
string $method
string $tags
string $summary

jsonSerialize()

No description

addParameter(ParameterInterface $parameter)

No description

Parameters

ParameterInterface $parameter

addResponse(SpecResponse $response)

No description

Parameters

SpecResponse $response

setSecurity(SpecSecurity $security)

No description

Parameters

SpecSecurity $security

setRequestBody(SpecRequestBody $requestBody)

No description

Parameters

SpecRequestBody $requestBody