Skip to content

Auto generated code needs to be marked as API #32011

Open
@sivaschenko

Description

Description

Auto-generated code needs to be marked as API

Details

  1. Auto generated code needs to be marked as @api:
    1. \Magento\Framework\Api\Code\Generator\ExtensionAttributesInterfaceFactoryGenerator
    2. \Magento\Framework\Api\Code\Generator\ExtensionAttributesInterfaceGenerator
    3. \Magento\Framework\Api\Code\Generator\ExtensionAttributesGenerator
    4. \Magento\Framework\MessageQueue\Code\Generator\RemoteServiceGenerator
  2. Factories generated for @api entities must also be marked as @api. Factories for non-@api must not be marked as @api
    1. \Magento\Framework\ObjectManager\Code\Generator\Factory

Testing

Run bin/magento setup:di:compile
Check the generated classes

Metadata

Labels

Priority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: dev in progressProject: API ChangesSeverity: S1Affects critical data or functionality and forces users to employ a workaround.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions