openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WEEK_GET_FIRST_DAY:
    post:
      tags:
      - SCAL
      summary: 'Calendar function: Return first day for a week'
      operationId: /rfc/WEEK_GET_FIRST_DAY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WEEK:
                  type: integer
                  format: int64
                  description: Week for which the date is to be determined
              required:
              - WEEK
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DATE:
                    type: string
                    format: date
                    description: Date of the first day of the week
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
