Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

823 B
Raw Blame
openapi: 3.0.4
info: {title: Orders, version: '1'}
paths:
  /orders:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema: {$ref: '#/components/schemas/OrderCreate'}
      responses:
        '201':
          description: created
          content:
            application/json:
              schema: {$ref: '#/components/schemas/Order'}
components:
  schemas:
    OrderCreate:
      type: object
      required: [sku]
      properties:
        sku: {type: string}
        priority: {type: string, enum: [standard, express]}
        note: {type: string}
    Order:
      type: object
      required: [id, status]
      properties:
        id: {type: string}
        status: {type: string, enum: [pending, complete]}
        note: {type: string, nullable: true}