{ "openapi": "3.1.0", "info": { "title": "ohkami-with-global-bindings", "version": "0.1.0" }, "servers": [ { "url": "http://localhost:8787", "description": "local dev" } ], "paths": { "/users": { "get": { "operationId": "list_users", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "type": "object", "properties": { "age": { "type": "integer", "format": "uint8" }, "id": { "type": "integer", "format": "uint32" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } } } } } } }, "post": { "operationId": "create_user", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object", "properties": { "age": { "type": "integer", "format": "uint8" }, "name": { "type": "string" } }, "required": [ "name" ] } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object", "properties": { "age": { "type": "integer", "format": "uint8" }, "id": { "type": "integer", "format": "uint32" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } } } } } } }, "/users/{id}": { "get": { "operationId": "show_user", "parameters": [ { "in": "path", "name": "id", "schema": { "type": "integer", "format": "uint32" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "age": { "type": "integer", "format": "uint8" }, "id": { "type": "integer", "format": "uint32" }, "name": { "type": "string" } }, "required": [ "id", "name" ] } } } } } } } } }