Translate an OVH API schema to a Open API schema (swagger)
*nix systems should be ok.
Go must be installed.
-
Create a
.yamlfile containing metadata about the API and the routes to merge. See into the directoryExamplesto get the yaml structure. -
Run
go get -v && go install -v -
Execute
ovhapi2openapi -i [PATH_TO_YAML_FILE] -o [PATH_TO_THE_OPENAPI_FILE]