{
  "openapi": "3.0.3",
  "info": {
    "title": "BlancPeak CPA Public Pages",
    "version": "1.0.0"
  },
  "servers": [
    { "url": "https://blancpeak.com" }
  ],
  "paths": {
    "/wp-json/wp/v2/pages": {
      "get": {
        "operationId": "searchPublicPages",
        "summary": "Find published BlancPeak CPA pages by keyword",
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "description": "A topic to search for, such as bookkeeping.",
            "schema": { "type": "string" }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching published pages",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": { "type": "integer" },
                      "slug": { "type": "string" },
                      "link": { "type": "string", "format": "uri" }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}