#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "object.h"

OpenAPI_object_t *OpenAPI_object_create(void)
{
    OpenAPI_object_t *object = ogs_malloc(sizeof(OpenAPI_object_t));

    return object;
}

void OpenAPI_object_free(OpenAPI_object_t *object)
{
    ogs_free (object);
}

cJSON *OpenAPI_object_convertToJSON(OpenAPI_object_t *object)
{
    cJSON *item = cJSON_CreateObject();

    return item;
fail:
    cJSON_Delete(item);
    return NULL;
}

OpenAPI_object_t *OpenAPI_object_parseFromJSON(cJSON *objectJSON)
{
    OpenAPI_object_t *object = NULL;

    return object;
end:
    return NULL;
}
