Qore Swagger Module Reference 2.1.1
Loading...
Searching...
No Matches
Swagger::ObjectBase Class Reference

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

#include <Swagger.qm.dox.h>

Inheritance diagram for Swagger::ObjectBase:
[legend]

Public Member Methods

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

Public Attributes

hash< auto > 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< auto >  oh)

Constructor.

Parameters
ohdeserialized hash from the source schema description describing the object

◆ initialize()

Swagger::ObjectBase::initialize ( hash< auto >  oh)

Initialize.

Parameters
ohdeserialized hash from the source schema description

Member Data Documentation

◆ vendorExtensions

hash<auto> 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.