{
    "openapi": "3.0.0",
    "info": {
        "title": "Hammity API",
        "version": "1.0.0"
    },
    "servers": [
        {
            "url": "https://hammity.app/api/v1"
        }
    ],
    "paths": {
        "/api/oauth2/token": {
            "post": {
                "summary": "Exchange OAuth Token",
                "description": "Exchanges an OAuth2 authorization code for an access token.",
                "responses": {
                    "200": {
                        "description": "Successful response"
                    }
                }
            }
        },
        "/api/oauth2/userinfo": {
            "get": {
                "summary": "Get OAuth User Info",
                "description": "Returns the authenticated Hammity user for a valid OAuth2 bearer token.",
                "responses": {
                    "200": {
                        "description": "Successful response"
                    }
                }
            }
        },
        "/users/@me": {
            "get": {
                "summary": "Get Current User",
                "description": "Returns the current authenticated user.",
                "responses": {
                    "200": {
                        "description": "Successful response"
                    }
                }
            }
        }
    }
}