openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DATE_COMPUTE_DAY:
    post:
      tags:
      - SCAL
      summary: Returns weekday for a date
      operationId: /rfc/DATE_COMPUTE_DAY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  format: date
                  description: Date of weekday to be calculated
              required:
              - DATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DAY:
                    type: string
                    maxLength: 1
                    description: Weekday
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
