<?xml version="1.0"?>
<!--
/**
 * @author Amasty Team
 * @copyright Copyright (c) Amasty (https://www.amasty.com)
 * @package Customer Attributes Base for Magento 2
 */-->
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Webapi:etc/webapi.xsd">

    <route url="/V1/amasty_customerattributes/optionData" method="GET">
        <service class="Amasty\CustomerAttributes\Api\OptionDataRepositoryInterface" method="getById"/>
        <resources>
            <resource ref="self" />
        </resources>
    </route>
</routes>
