Home > Class Reference > %SYS namespace > %REST.Spec


abstract class %REST.Spec

This superclass is used as a known entry point for OpenAPI REST API Models. Subclasses of this class should override the XData OpenAPI block for storing custom API descriptions.


parameter Strict = 1;
If Strict=0 (false), then only the swagger properties which are needed for code generation are checked during compile. If Strict=1 (true), then all swagger properties are checked during compile.
parameter XDataName = OpenAPI;
The name of the XData block which contains the OpenAPI 2.0 specification