Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%REST] >  [Spec]
Private  Storage   

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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers




• 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

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.