openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DATE_GET_WEEK:
    post:
      tags:
      - SCAL
      summary: 'Calendar fucntion: Returns week for a date'
      operationId: /rfc/DATE_GET_WEEK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  format: date
                  description: Date for which the week should be calculated
              required:
              - DATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WEEK:
                    type: integer
                    format: int64
                    description: Week for date (format:YYYYWW)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
