Log in
Model

Async

Magento\SwaggerWebapiAsync\Model\SchemaType\Async

What it does

This class defines the schema type configuration for asynchronous Swagger API documentation in Magento 2.

It provides the type code ('async') and generates the URL path to retrieve the async REST API schema documentation.

Developers use this when implementing or documenting asynchronous REST API endpoints that need to appear in Swagger UI.

Public Methods

  • getCode()
  • getSchemaUrlPath()