ServiceMetadata
Magento\Webapi\Model\ServiceMetadata
What it does
This class manages Web API service metadata for Magento 2, providing configuration details about available REST/SOAP services including their methods, routes, ACL resources, and security settings.
Developers use it to retrieve service definitions, convert interface names to service names, and access routing information for API endpoints.
It handles caching of service metadata to improve performance.
Public Methods
- getServicesConfig()
- getServiceMetadata()
- getServiceName()
- getRouteMetadata()
- getRoutesConfig()