Closed eguzki closed 3 years ago
Generate Kuadrant API k8s resources from an OpenAPI 3 document
$ kuadrantctl api generate https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml typemeta: kind: API apiversion: networking.kuadrant.io/v1beta1 objectmeta: name: swaggerpetstore generatename: "" namespace: "" selflink: "" uid: "" resourceversion: "" generation: 0 creationtimestamp: "0001-01-01T00:00:00Z" deletiontimestamp: null deletiongraceperiodseconds: null labels: {} annotations: {} ownerreferences: [] finalizers: [] clustername: "" managedfields: [] spec: hosts: - petstore.swagger.io operations: - name: listpets path: /pets method: GET security: [] - name: createpets path: /pets method: POST security: [] - name: showpetbyid path: /pets/{petId} method: GET security: [] securityscheme: [] status: ready: false observedgeneration: 0
Still WIP, but ready for an early review
@jmprusi needs review
Generate Kuadrant API k8s resources from an OpenAPI 3 document