Qore Swagger Module Reference 2.1
Loading...
Searching...
No Matches
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...

#include <Swagger.qm.dox.h>

Inherits ObjectBase.

Public Member Methods

 constructor (hash< auto > oh)
 Constructor. 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.
 

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

◆ constructor()

TagObject::constructor ( hash< auto >  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