The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in the Swagger-UI for convenience.
More...
#include <Swagger.qm.dox.h>
|
*ContactObject | contact |
| The contact information for the exposed API.
|
|
*string | desc |
| A short description of the application. GFM syntax can be used for rich text representation.
|
|
*LicenseObject | license |
| The license information for the exposed API.
|
|
*string | termsOfService |
| The Terms of Service for the API.
|
|
string | title |
| Required. The title of the application.
|
|
string | version |
| Required. Provides the version of the application API (not to be confused with the specification version).
|
|
hash< auto > | vendorExtensions |
| Allows extensions to the Swagger Schema. More...
|
|
The object provides metadata about the API. The metadata can be used by the clients if needed, and can be presented in the Swagger-UI for convenience.
◆ constructor()
Swagger::InfoObject::constructor |
( |
hash< auto > |
oh | ) |
|
Constructor.
- Parameters
-
oh | deserialized hash from the source schema description providing metadata about the API |
- Exceptions
-
INVALID-FIELD-TYPE | field has invalid type |
REQUIRED-FIELD-MISSING | required field is missing |