HewlettPackard / python-ilorest-library

Python library for interacting with devices which support a Redfish Service
Apache License 2.0
189 stars 92 forks source link

Swagger OpenAPI Support? #71

Closed escanaan closed 1 year ago

escanaan commented 5 years ago

Is HP working on a swagger.yml file? I need to run some mocking scenarios...found some tools from redfish repositories but they don't work as I expected.

https://github.com/DMTF/Redfish-Mockup-Creator https://github.com/DMTF/Redfish-Mockup-Server

I also found from this statement from DMTF where they say OpenAPI support still work-in-progress as of 2018Q3:

https://www.dmtf.org/sites/default/files/Redfish_OpenAPI_Support_2018Q3%28WIP%29.pdf

Are you @Yergidy using this to generate your libraries?

Thank you.

rajeevkallur commented 4 years ago

No, we did not use any yml to generate library. But iLO team would have used some method to create redfish server. Here is something I found which could be helpful. We can use Swagger Editor to create your OAS definition and then use Swagger Codegen to generate server implementation. We can use the Swagger UI to visualize and document your OAS definition. Design, document and develop APIs as a team using SwaggerHub.

alxvls commented 3 years ago

This is such a weird conversation :) it would be really helpful if HPE uploaded OpenAPI spec used for redfish service somewhere

rajeevkallur commented 1 year ago

This is not related to ilorest library. Closing the case. Please open an issue/case with iLO team if openAPI spec is needed.