Log in
Model

SchemaLocator

Magento\Webapi\Model\Config\SchemaLocator

What it does

This class provides the file paths to XSD schema files used for validating Web API configuration files (webapi.xml).

Developers rarely interact with this class directly - it's used internally by Magento's configuration system to validate webapi.xml files both individually and when merged across all modules.

Public Methods

  • getSchema()
  • getPerFileSchema()