The bold code in the following code sample shows the annotations when getOrder is an internal procedure of orders.p:

/* orders.p */
@openapi.openedge.export FILE (TYPE="REST", 
executionMode="SINGLE-RUN")..
.
.
.
@openapi.openedge.export(TYPE="REST").
PROCEDURE getOrder.
DEFINE INPUT PARAM customerNumber AS INT.
DEFINE INPUT PARAM orderNumber AS INT.
DEFINE OUTPUT PARAM DATASET FOR dsOrder.
.
.
.