Qore Swagger Module Reference  1.1.0
Swagger::ObjectBase Class Reference

Base class for the Swagger specification objects, wrapping the vendor extensions. More...

Inheritance diagram for Swagger::ObjectBase:

Public Member Methods

 constructor ()
 Constructor.
 
 constructor (hash oh)
 Constructor. More...
 
 constructor (ObjectBase other)
 copy constructor
 
 initialize (hash oh)
 Initialize. More...
 

Public Attributes

hash vendorExtensions
 Allows extensions to the Swagger Schema. More...
 

Detailed Description

Base class for the Swagger specification objects, wrapping the vendor extensions.

Member Function Documentation

◆ constructor()

Swagger::ObjectBase::constructor ( hash  oh)

Constructor.

Parameters
ohdeserialized hash from the source schema description describing the object

◆ initialize()

Swagger::ObjectBase::initialize ( hash  oh)

Initialize.

Parameters
ohdeserialized hash from the source schema description

Member Data Documentation

◆ vendorExtensions

hash Swagger::ObjectBase::vendorExtensions

Allows extensions to the Swagger Schema.

The field name MUST begin with x-, for example, x-internal-id. The value can be null, a primitive, an array or an object.