class SpecGenerator implements ApplicationAwareInterface (View source)

Traits

Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface

Properties

protected Application $app from  ApplicationAwareTrait
protected SpecMerger $merger
protected ObjectManager $objectManager
protected SourceRegistry $sourceRegistry
protected EventDispatcher $eventDispatcher

Methods

setApplication(Application $app)

Setter method for the application

__construct(EventDispatcher $eventDispatcher, ObjectManager $objectManager, SpecMerger $merger, SourceRegistry $sourceRegistry)

No description

addExpressSpec(OpenApi $openApi)

No description

addCustomAttributesToModels(OpenApi $openApi)

No description

OpenApi
getSpec()

No description

Details

setApplication(Application $app)

Setter method for the application

Parameters

Application $app

__construct(EventDispatcher $eventDispatcher, ObjectManager $objectManager, SpecMerger $merger, SourceRegistry $sourceRegistry)

No description

Parameters

EventDispatcher $eventDispatcher
ObjectManager $objectManager
SpecMerger $merger
SourceRegistry $sourceRegistry

private addExpressSpec(OpenApi $openApi)

No description

Parameters

OpenApi $openApi

private addCustomAttributesToModels(OpenApi $openApi)

No description

Parameters

OpenApi $openApi

OpenApi getSpec()

No description

Return Value

OpenApi