OpenAPI Specification Generator — illustrative example INPUT Produce an OpenAPI 3.1.1 JSON fragment for fictional GET /items. Confirmed response: status 200, application/json array, each item requires string id and name. Authentication and errors are not specified. RESULT { "openapi": "3.1.1", "info": {"title": "Illustrative Items API", "version": "0.1.0"}, "paths": { "/items": { "get": { "description": "Draft: authentication and error responses remain unspecified.", "responses": { "200": { "description": "Items", "content": {"application/json": {"schema": { "type": "array", "items": {"type": "object", "required": ["id", "name"], "properties": { "id": {"type": "string"}, "name": {"type": "string"} }} }}} } } } } } } REVIEW An API specification should reflect the actual contract, including errors and authentication. Mark unknown behavior instead of inventing a polished endpoint description. This is a teaching example, not a live execution record.