Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-docgen

Documentation publishing for Pudu: articles, API references, navigation, search, and static websites

0.1.0Apache-2.01

InstallClose

inventory.yml

YAML40 lines847 B

GitHub ↗
1openapi: 3.0.32info:3  title: Inventory Service4  version: 1.0.05  description: Read and change stock over **HTTP**.6servers:7  - url: https://inventory.example.org/v18paths:9  /items/{sku}:10    get:11      operationId: getItem12      summary: Get an item13      tags: [items]14      parameters:15        - name: sku16          in: path17          required: true18          schema:19            type: string20      responses:21        '200':22          description: The item23          content:24            application/json:25              schema:26                $ref: '#/components/schemas/Item'27        '404':28          description: No such item29components:30  schemas:31    Item:32      type: object33      required: [sku]34      properties:35        sku:36          type: string37          description: Stock keeping unit38        quantity:39          type: integer40