My endpoint works perfectly fine and returned responses that I expect. However, when I ran my app through app inspect, I received the following:
FAILURE: web.conf found with a `pattern` exposed that does not
correspond to any `match` stanza in restmap.conf. Apps should only
expose endpoints that they define. Pattern: `/apiDomain/`. Please
remove or edit this stanza: [expose:apiDomain]. File:
default/web.conf Line Number: 3
My restmap.conf is as follows:
Turns out I just needed to change my pattern from apiDomain to apiDomain/**, and the apiDomain_elements stanza is not needed.
Turns out I just needed to change my pattern from apiDomain to apiDomain/**, and the apiDomain_elements stanza is not needed.