mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-11 08:31:21 +00:00
* udpate default value for cpp, remove unused imports * update cpprest template * update tizen default value * update cpp restbed default value * update qt5cpp samples * update pistache samples * regenerate restbed ignore file
44 lines
948 B
C++
44 lines
948 B
C++
/**
|
|
* OpenAPI Petstore
|
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* OpenAPI spec version: 1.0.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
#ifndef _OAI_OBJECT_H_
|
|
#define _OAI_OBJECT_H_
|
|
|
|
#include <QJsonObject>
|
|
|
|
namespace OpenAPI {
|
|
|
|
class OAIObject {
|
|
public:
|
|
virtual QJsonObject asJsonObject() {
|
|
return QJsonObject();
|
|
}
|
|
virtual ~OAIObject() {}
|
|
virtual OAIObject* fromJson(QString jsonString) {
|
|
Q_UNUSED(jsonString);
|
|
return new OAIObject();
|
|
}
|
|
virtual void fromJsonObject(QJsonObject json) {
|
|
Q_UNUSED(json);
|
|
}
|
|
virtual QString asJson() {
|
|
return QString("");
|
|
}
|
|
virtual bool isSet() {
|
|
return false;
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* _OAI_OBJECT_H_ */
|