json adding the swagger code generation
json adding the swagger code generation

This takes the json2code perl script from the osv and pass it with small
adaptation.

It takes a swagger definition file and creates a hh file from it with
the following code support.

Api opperations are translated to path_description with a name that
determine by their nick name.

Moduls are defined as json object with the same name.

Enums are defined as enum class, a string to enum function is defined
for any query enum parameters.

For enums that are part of a json object a conversion function is
defined so enum of a different type can be assigned to the target enum
as long as it has the same enum values.

Signed-off-by: Amnon Heiman <ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@cloudius-systems.com>

dwdm/scylla,tempbottle/scylla,capturePointer/scylla,sjperkins/seastar,jonathanleang/seastar,kjniemi/seastar,mixja/seastar,leejir/seastar,scylladb/seastar,duarten/scylla,hongliangzhao/seastar,scylladb/scylla,duarten/scylla,avikivity/seastar,justintung/scylla,justintung/scylla,mixja/seastar,asias/scylla,kjniemi/seastar,stamhe/scylla,dwdm/seastar,joerg84/seastar,anzihenry/seastar,kjniemi/seastar,mixja/seastar,shyamalschandra/seastar,victorbriz/scylla,printedheart/seastar,guiquanz/scylla,glommer/scylla,sjperkins/seastar,cloudius-systems/seastar,stamhe/seastar,tempbottle/seastar,senseb/scylla,bowlofstew/seastar,hongliangzhao/seastar,aruanruan/scylla,gwicke/scylla,linearregression/scylla,dwdm/scylla,norcimo5/seastar,linearregression/seastar,dwdm/seastar,wildinto/scylla,leejir/seastar,acbellini/scylla,koolhazz/seastar,xtao/seastar,xtao/seastar,tempbottle/scylla,avikivity/scylla,ducthangho/imdb,xtao/seastar,wildinto/scylla,phonkee/scylla,leejir/seastar,printedheart/seastar,bowlofstew/scylla,kjniemi/scylla,chunshengster/seastar,bzero/seastar,kangkot/scylla,scylladb/seastar,syuu1228/seastar,asias/scylla,wildinto/seastar,senseb/scylla,norcimo5/seastar,phonkee/scylla,acbellini/seastar,anzihenry/seastar,koolhazz/seastar,eklitzke/scylla,stamhe/scylla,rentongzhang/scylla,chunshengster/seastar,raphaelsc/scylla,shaunstanislaus/scylla,duarten/scylla,syuu1228/seastar,shyamalschandra/seastar,acbellini/scylla,gwicke/scylla,kangkot/scylla,wildinto/seastar,dreamsxin/seastar,acbellini/seastar,bowlofstew/seastar,scylladb/scylla,acbellini/seastar,syuu1228/seastar,bowlofstew/seastar,bzero/seastar,ducthangho/imdb,avikivity/seastar,raphaelsc/scylla,guiquanz/scylla,tempbottle/seastar,kjniemi/scylla,rentongzhang/scylla,ducthangho/imdb,dwdm/seastar,scylladb/seastar,rentongzhang/scylla,stamhe/seastar,linearregression/scylla,printedheart/seastar,kangkot/scylla,shaunstanislaus/scylla,eklitzke/scylla,stamhe/scylla,flashbuckets/seastar,wildinto/seastar,stamhe/seastar,victorbriz/scylla,aruanruan/scylla,acbellini/scylla,linearregression/seastar,scylladb/scylla-seastar,dwdm/scylla,tempbottle/scylla,jonathanleang/seastar,guiquanz/scylla,senseb/scylla,shaunstanislaus/scylla,bowlofstew/scylla,avikivity/scylla,bowlofstew/scylla,linearregression/seastar,jonathanleang/seastar,scylladb/scylla-seastar,shyamalschandra/seastar,capturePointer/scylla,chunshengster/seastar,glommer/scylla,rluta/scylla,capturePointer/scylla,joerg84/seastar,rluta/scylla,cloudius-systems/seastar,norcimo5/seastar,flashbuckets/seastar,asias/scylla,kjniemi/scylla,tempbottle/seastar,respu/scylla,bzero/seastar,sjperkins/seastar,joerg84/seastar,scylladb/scylla-seastar,respu/scylla,raphaelsc/scylla,glommer/scylla,flashbuckets/seastar,hongliangzhao/seastar,scylladb/scylla,aruanruan/scylla,anzihenry/seastar,rluta/scylla,avikivity/seastar,victorbriz/scylla,gwicke/scylla,justintung/scylla,phonkee/scylla,eklitzke/scylla,linearregression/scylla,cloudius-systems/seastar,dreamsxin/seastar,respu/scylla,avikivity/scylla,dreamsxin/seastar,koolhazz/seastar,scylladb/scylla,wildinto/scylla