Octri

sdk operations

Lists the operations the generator read from your current spec: each one's method, path and operation ID. That's what becomes your SDK's methods, so it's the quickest way to check a spec change came through as you meant it.

bash
octri sdk operations [--grep <text>]

Flags

--grep <text>string

Only operations whose method, path or summary contains this, ignoring case.

Examples

Find the customer operations

bash
octri sdk operations --grep customer
Output
✔ Parsing current spec

Operations (6/23)
  METHOD  PATH                                   OPERATIONID
  ──────  ─────────────────────────────────────  ─────────────────────────
  GET     /customers                             listCustomers
  POST    /customers                             createCustomer
  DELETE  /customers/{customerId}                deleteCustomer
  GET     /customers/{customerId}                getCustomer
  PATCH   /customers/{customerId}                updateCustomer
  GET     /customers/{customerId}/subscriptions  listCustomerSubscriptions
  • octri sdk preview: Generate one language without spending a build, and read the files.
  • octri specs push: Upload an OpenAPI spec and follow it through parsing, pages and search.