{
  "openapi" : "3.1.0",
  "info" : {
    "title" : "API",
    "description" : "This sections provides API to get workday for business related working day rule judgment.",
    "version" : "1.0/platform-busi-config",
    "x-mo-original-description" : "API Documentation",
    "x-mo-overwrite-description" : "This sections provides API to get workday for business related working day rule judgment."
  },
  "servers" : [ {
    "url" : "http://platform-busi-config.platform"
  } ],
  "paths" : {
    "/platform-busi-config/public/workday/v1/getWorkDaysByDates" : {
      "get" : {
        "tags" : [ "Workday" ],
        "summary" : "Retrieves a list of workdays between the specified startDate and endDate.",
        "operationId" : "getWorkDaysOfPeriod",
        "parameters" : [ {
          "name" : "startDate",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        }, {
          "name" : "endDate",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "array",
                  "items" : {
                    "$ref" : "#/components/schemas/WorkDay"
                  }
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-overwrite-summary" : "Retrieves a list of workdays between the specified startDate and endDate."
      }
    },
    "/platform-busi-config/public/workday/v1/isWorkday" : {
      "get" : {
        "tags" : [ "Workday" ],
        "summary" : "Checks if the given localDate is a workday, returning a boolean value.",
        "operationId" : "isWorkday",
        "parameters" : [ {
          "name" : "localDate",
          "in" : "query",
          "required" : true,
          "style" : "form",
          "explode" : true,
          "schema" : {
            "type" : "string",
            "format" : "date"
          }
        } ],
        "responses" : {
          "200" : {
            "description" : "OK",
            "content" : {
              "*/*" : {
                "schema" : {
                  "type" : "boolean"
                }
              }
            }
          }
        },
        "x-mo-since-at" : {
          "serviceVersion" : "2025.03"
        },
        "x-mo-overwrite-summary" : "Checks if the given localDate is a workday, returning a boolean value."
      }
    }
  },
  "components" : {
    "schemas" : {
      "WorkDay" : {
        "type" : "object",
        "properties" : {
          "@pk" : {
            "type" : "integer",
            "format" : "int64"
          },
          "BaseDate" : {
            "type" : "string",
            "format" : "date"
          },
          "DateDesc" : {
            "type" : "string"
          },
          "Id" : {
            "type" : "integer",
            "format" : "int64"
          },
          "OldPrimaryKey" : {
            "type" : "integer",
            "format" : "int64"
          },
          "TempData" : {
            "type" : "object",
            "additionalProperties" : {
              "type" : "object"
            }
          },
          "Workday" : {
            "type" : "string"
          }
        }
      }
    }
  },
  "x-mo-gateway-auth-enabled" : true,
  "x-mo-gateway-cors-enabled" : false
}