Navigation
API > API/Plugins > API/Plugins/WebAPIEditor
A service generally contains a sub-section of the API containing operations related to a particular subject.
| Name | UWebAPIService |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/Dom/WebAPIService.h |
| Include Path | #include "Dom/WebAPIService.h" |
Syntax
UCLASS (MinimalAPI)
class UWebAPIService : public UWebAPIModelBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UWebAPIModelBase → UWebAPIService
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bGenerate | bool | Can be disabled to skip generation of this Service and it's operations. | Dom/WebAPIService.h |
|
| Name | FWebAPITypeNameVariant | Name of the Service. | Dom/WebAPIService.h |
|
| Operations | TArray< TObjectPtr< UWebAPIOperation > > | Operations contained within the service. | Dom/WebAPIService.h |
|
Functions
Public
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
Dom/WebAPIService.h |
Overridden from IWebAPISchemaObjectInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SetNamespace
(
const FString& InNamespace |
Recursively sets the namespace of this and all child objects. | Dom/WebAPIService.h | |
virtual void Visit
(
TFunctionRef< void(IWebAPISchemaObjectInterface*&)> InVisitor |
Recursively visit each element in the schema. | Dom/WebAPIService.h |