Navigation
API > API/Plugins > API/Plugins/WebAPIEditor > API/Plugins/WebAPIEditor/Dom
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UWebAPISchema
References
| Module | WebAPIEditor |
| Header | /Engine/Plugins/Experimental/Web/WebAPI/Source/WebAPIEditor/Public/Dom/WebAPISchema.h |
| Include | #include "Dom/WebAPISchema.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UWebAPISchema :
public UObject,
public IWebAPISchemaObjectInterface
Remarks
Describes the intermediate structure from which to generate code.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FString | APIName | Name of the API. | |
| FString | BaseUrl | The Url path relative to the host address, ie. "/V1". | |
| FString | DateTimeFormat | The date-time format this API uses to encode/decode from string. | |
| FString | Host | The default host address to access this API. | |
| TArray< TObjectPtr< UWebAPIModelBase > > | Models | Models can be a combination of classes, structs and enums used by this API. | |
| TMap< FString, TObjectPtr< class UWebAPIService > > | Services | Each service contains one or more operations. | |
| TObjectPtr< UWebAPITypeRegistry > | TypeRegistry | Contains all referenced types for this API. | |
| TArray< FString > | URISchemes | Uniform Resource Identifier schemes (ie. https, http). | |
| FString | UserAgent | The UserAgent to encode in Http request headers. | |
| FString | Version | The API version can be any arbitrary string that is useful if there are several versions. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< class UWebAPIEnum > | AddEnum
(
const TObjectPtr< UWebAPITypeInfo >& InTypeInfo |
Add and return a reference to a new Enum. | |
| TObjectPtr< ModelType > | AddModel
(
const TObjectPtr< UWebAPITypeInfo >& InTypeInfo |
Add and return a reference to a new Model | |
| TObjectPtr< class UWebAPIParameter > | AddParameter
(
const TObjectPtr< UWebAPITypeInfo >& InTypeInfo |
Add and return a reference to a new Parameter. | |
| void | Clear () |
Resets the Schema to defaults. | |
| const TSharedPtr< FWebAPIMessageLog > & | |||
| TObjectPtr< class UWebAPIService > | GetOrMakeService
(
const FString& InName |
Find/Add and return a reference to an existing/new Service. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| EDataValidationResult | IsDataValid
(
FDataValidationContext& Context |
Generic function to validate objects during changelist validations, etc. |
Overridden from IWebAPISchemaObjectInterface
| Type | Name | Description | |
|---|---|---|---|
| void | Visit
(
TFunctionRef< void(IWebAPISchemaObjectInterface*&)> InVisitor |
Recursively visit each element in the schema. |
Constants
| Name | Description |
|---|---|
| LogName |