Qore Swagger Module Reference  1.0.1
 All Classes Namespaces Functions Variables Groups Pages
Swagger::TagObject Class Reference

Allows adding metadata to a single tag that is used by the OperationObject. It is not mandatory to have a TagObject per tag used there. More...

Inheritance diagram for Swagger::TagObject:

Public Member Functions

 constructor (hash oh)
 Constructor. More...
 
- Public Member Functions inherited from Swagger::ObjectBase
 constructor ()
 Constructor.
 
 constructor (hash oh)
 Constructor. More...
 
 constructor (ObjectBase other)
 copy constructor
 
 initialize (hash oh)
 Initialize. More...
 

Public Attributes

*string desc
 A short description for the tag. GFM syntax can be used for rich text representation.
 
*ExternalDocumentationObject externalDocs
 Additional external documentation for this tag.
 
string name
 Required. The name of the tag.
 
- Public Attributes inherited from Swagger::ObjectBase
hash vendorExtensions
 Allows extensions to the Swagger Schema. More...
 

Detailed Description

Allows adding metadata to a single tag that is used by the OperationObject. It is not mandatory to have a TagObject per tag used there.

Member Function Documentation

Swagger::TagObject::constructor ( hash  oh)

Constructor.

Parameters
ohdeserialized hash from the source schema description describing a metadata tag associated with an operation
Exceptions
INVALID-FIELD-TYPEfield has invalid type
REQUIRED-FIELD-MISSINGrequired field is missing