Attributes set at the module level Attributes that apply to the whole Web service (at the module level). WSInfoDefines general metadata about the REST service.WSErrorDefines a description for an HTTP status code returned by the service.WSContextProvides a dictionary of request‑specific context values for the current REST request, available to all operations in the module.WSScope (module)Defines the access scope required to call any REST operation in the module.WSVersion (module)Sets the version of the REST service for OpenAPI documentation.WSVersionModeSpecifies how the service version is selected for OpenAPI generation (URI, header, or query).WSTypeDescriptionProvides a description for a user‑defined type in the REST service.WSPreProcessingSpecify functions in a REST web service module that are used as preprocessing request handlers.WSPostProcessingSpecify functions in a REST web service module that are used as postprocessing request handlers.