-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is a Swagger spec available? #76
Comments
Cloudera Manager API client released with Cloudera Manager 6.0, not the one in this repo, is indeed generated using Swagger. You can find more information about new Swagger based Cloudera Manager API Client here On a running Cloudera Manager instance, swagger input specification json is available at http://cm-host:7180/static/apidocs/ui/swagger.json In future for those who don't have access to a running Cloudera Manager instance, we'll link the swagger input specification from static site http://cloudera.github.io/cm_api/docs/releases/ |
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#operationObject The Spec isn't valid. operationId must be Unique Globally.
|
That example was wit go-swagger. It seems https://github.com/swagger-api/swagger-codegen is a little bit less strict on following the API standard and resulted in something that needed less modifications before becoming usable. |
The documentation says that the Java and Python libraries in this repo are based on Swagger. Is there a Swagger JSON or YAML spec that could be used to generate a client in another language?
My current CM install doesn’t expose API Explorer/Swagger UI under the Support menu; just has API Documentation.
The text was updated successfully, but these errors were encountered: