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