Adventure Mode

Adventure Mode · GPT 작업

Random Word Generator API

API for generating a specified number of random words.

  • GET /apigetRandomWords

    Retrieve a specified number of random words

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "Random Word Generator API",
    "description": "API for generating a specified number of random words.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://random-word-api.vercel.app"
    }
  ],
  "paths": {
    "/api": {
      "get": {
        "description": "Retrieve a specified number of random words",
        "operationId": "getRandomWords",
        "parameters": [
          {
            "name": "words",
            "in": "query",
            "description": "Number of random words to retrieve",
            "required": true,
            "schema": {
              "type": "integer",
              "default": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An array of random words",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}