forked from loafle/openapi-generator-original
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/**
|
|
* Swagger Petstore
|
|
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* OpenAPI spec version: 1.0.0
|
|
* Contact: apiteam@swagger.io
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
#ifndef SWGHELPERS_H
|
|
#define SWGHELPERS_H
|
|
|
|
#include <QJsonValue>
|
|
|
|
namespace Swagger {
|
|
|
|
void setValue(void* value, QJsonValue obj, QString type, QString complexType);
|
|
void toJsonArray(QList<void*>* value, QJsonArray* output, QString innerName, QString innerType);
|
|
void toJsonValue(QString name, void* value, QJsonObject* output, QString type);
|
|
bool isCompatibleJsonValue(QString type);
|
|
QString stringValue(QString* value);
|
|
QString stringValue(qint32 value);
|
|
QString stringValue(qint64 value);
|
|
QString stringValue(bool value);
|
|
|
|
}
|
|
|
|
#endif // SWGHELPERS_H
|