I think it's fine to display the host (servers) URL on the OpenAPI on the
developer portal in case the advertiseOnly attribute is true. In case the
host (servers) section on the OpenAPI is null/empty, we can default to the
old behavior which is to not display anything.

Thanks,
NuwanD.

On Thu, Oct 29, 2020 at 2:57 PM Akshitha Dalpethado (Intern) <
akshi...@wso2.com> wrote:

> Hi guys,
> I'm working on the project, harvesting APIs from AWS API gateway to the
> WSO2 developer portal. As you guys know we have created a new apictl
> command for this(apictl aws init).
> We have decided to use the *advertiseOnly* property to recognize these
> APIs when we import them to the developers portal and display the API's
> host URL as the gateway URL. For instance instead of the gateway URL
> generated by the developer portal this will be the URL displayed as the
> gateway URL.
> ern7ceaofh.execute-api.us-east-1.amazonaws.com
>
> But the problem we are having is *advertiseOnly* API gateway URLs, are
> not displayed in the developer portal. We are looking for a way to show
> gateway URLs for *advertiseOnly* APIs without breaking the old external
> store feature.
>
> --
> *Akshitha Dalpethado* | Intern | WSO2 Inc.
>
> (m) :0770284542 | Email : akshi...@wso2.com
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>


-- 
*Nuwan Dias* | VP and deputy CTO - API Management and Integration | WSO2
Inc.
(m) +94 777 775 729 | (e) nuw...@wso2.com
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to