Add service EndpointMetaDataFactory and DTO EndpointMetaData for description of all defined endpoints and methods.
Inspired by Doctrine EntityMetaData.
Why?
We need to provide a simple way to distribute information about endpoint settings to other services (documentation, validators, ...). The solution is to define a data object to describe the structure.
Add service
EndpointMetaDataFactoryand DTOEndpointMetaDatafor description of all defined endpoints and methods.Inspired by Doctrine EntityMetaData.
Why?
We need to provide a simple way to distribute information about endpoint settings to other services (documentation, validators, ...). The solution is to define a data object to describe the structure.