openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SFW_GET_SW_STATUS:
    post:
      tags:
      - SFW_COMMON
      operationId: /rfc/SFW_GET_SW_STATUS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SWITCH:
                  type: string
                  maxLength: 30
                SWITCHTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SWITCH_ID:
                        type: string
                        maxLength: 30
                        description: Id of a Switch in Switch Framework
                      STATE:
                        type: string
                        maxLength: 1
                        description: Switch Position
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STATUS:
                    type: string
                    maxLength: 1
                  SWITCHTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SWITCH_ID:
                          type: string
                          maxLength: 30
                          description: Id of a Switch in Switch Framework
                        STATE:
                          type: string
                          maxLength: 1
                          description: Switch Position
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
