openapi: 3.1.0
info:
  title: Minimal
  version: "1.0.0"
servers:
  - url: https://api.example.com
paths:
  /items:
    post:
      operationId: create-item
      summary: Create an item
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: false
              required:
                - name
              properties:
                name:
                  type: string
                  minLength: 1
      responses:
        "201":
          description: created
          content:
            application/json:
              schema:
                type: object
