Log in
Interface

SchemaTypeInterface

Magento\Swagger\Api\Data\SchemaTypeInterface

What it does

This interface defines the contract for Swagger schema types in Magento 2's API documentation system.

Developers implement this interface to create different schema types (like REST or SOAP) that generate Swagger/OpenAPI documentation, providing the schema code identifier and URL path where the schema can be accessed.

Public Methods

  • getCode()
  • getSchemaUrlPath()