WIP Example: https://github.com/termicoder/codechef-client-lib
Codechef uses swagger for documentation of its api specs. We can utillize this to generate a api access library and make implementation of codechef termicoder plugin much easier.
generate the library with swagger codegen after improving the codechef's swagger specification:
https://developers.codechef.com/sites/all/modules/codechef_devconsole/codechef.json
The available codechef.json doesn't use the openapi (swagger spec) properly to specify things like default values, available values (enums), auth, etc. It also specifies many objects as bear strings.
So we will have to first work out by correcting the swagger spec. After it has been done we can generate library for any language.
WIP Example: https://github.com/termicoder/codechef-client-lib
Codechef uses swagger for documentation of its api specs. We can utillize this to generate a api access library and make implementation of codechef termicoder plugin much easier.
generate the library with swagger codegen after improving the codechef's swagger specification:
https://developers.codechef.com/sites/all/modules/codechef_devconsole/codechef.jsonThe available codechef.json doesn't use the openapi (swagger spec) properly to specify things like default values, available values (enums), auth, etc. It also specifies many objects as bear strings.
So we will have to first work out by correcting the swagger spec. After it has been done we can generate library for any language.