Method |
Description |
|
addPaths ( ArrayObject $paths, ArrayObject $definitions, string $resourceClass, string $resourceShortName, ResourceMetadata $resourceMetadata, array $mimeTypes, boolean $collection ) |
Updates the list of entries in the paths collection. |
|
computeDoc ( Documentation $documentation, ArrayObject $definitions, ArrayObject $paths ) : array |
Computes the Swagger documentation. |
|
getDefinition ( ArrayObject $definitions, boolean $collection, boolean $parameter, ResourceMetadata $resourceMetadata, string $resourceClass, string $operationName ) : string |
|
|
getDefinitionSchema ( string $resourceClass, ResourceMetadata $resourceMetadata, array $serializerContext = null ) : ArrayObject |
Gets a definition Schema Object. |
|
getFiltersParameters ( string $resourceClass, string $operationName, ResourceMetadata $resourceMetadata ) : array |
Gets Swagger parameters corresponding to enabled filters. |
|
getPath ( string $resourceShortName, array $operation, boolean $collection ) : string |
Gets the path for an operation. |
|
getPathOperation ( string $operationName, array $operation, string $method, boolean $collection, string $resourceClass, ResourceMetadata $resourceMetadata, array $mimeTypes, ArrayObject $definitions ) : ArrayObject |
Gets a path Operation Object. |
|
getPropertySchema ( PropertyMetadata $propertyMetadata ) : ArrayObject |
Gets a property Schema Object. |
|
getType ( string $type, boolean $isCollection, string $className = null, boolean $readableLink = null ) : array |
Gets the Swagger's type corresponding to the given PHP's type. |
|
updateDeleteOperation ( ArrayObject $pathOperation, string $resourceShortName ) : ArrayObject |
|
|
updateGetOperation ( ArrayObject $pathOperation, array $mimeTypes, boolean $collection, ResourceMetadata $resourceMetadata, string $resourceClass, string $resourceShortName, string $operationName, ArrayObject $definitions ) : ArrayObject |
|
|
updatePostOperation ( ArrayObject $pathOperation, array $mimeTypes, boolean $collection, ResourceMetadata $resourceMetadata, string $resourceClass, string $resourceShortName, string $operationName, ArrayObject $definitions ) : ArrayObject |
|
|
updatePutOperation ( ArrayObject $pathOperation, array $mimeTypes, boolean $collection, ResourceMetadata $resourceMetadata, string $resourceClass, string $resourceShortName, string $operationName, ArrayObject $definitions ) : ArrayObject |
|
|