{ "openapi": "3.1.0", "info": { "title": "The API", "version": "0.1.0" }, "paths": { "/users": { "get": { "description": "List all the users", "parameters": [ { "in": "query", "name": "q", "schema": { "type": "string", "maximum": 256, "minimum": 2 } } ], "responses": { "200": { "content": { "application/json": { "schema": { "items": { "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" } }, "additionalProperties": false, "type": "object", "required": [ "id", "name", "createdAt", "updatedAt" ] }, "type": "array" } }, "application/vnd.api+json": { "schema": { "properties": { "data": { "$ref": "#/$defs/Node" }, "included": { "items": { "$ref": "#/$defs/Node" }, "type": "array" }, "links": { "$ref": "#/$defs/Links" }, "meta": { "$ref": "#/$defs/Meta" } }, "additionalProperties": false, "type": "object", "required": [ "data" ] } } }, "description": "OK" } }, "summary": "List all the users" } } } }