Define your resource operations
Operations are the HTTP verbs used to manipulate the resources of your Web service.
In GWS REST the attributes that perform operations are identifiable by the HTTP verb in the name, for example, WSGet, WSDelete, WSPost, and WSPut, etc. Your REST function must have one of these attributes in order to define its service. You can use these attributes in the attributes clause of your function.
Publishing operations
When you generate the service description, the operations you declared are published in a node. For example, there is a "get" node if it describes a GET operation. You find the operation node under the path for that resource in your OpenAPI documentation file.