openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GET_LOCAL_SERVERS:
    post:
      tags:
      - SRFC
      operationId: /rfc/RFC_GET_LOCAL_SERVERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HOSTS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      HOST:
                        type: string
                        maxLength: 32
                        description: Name of Application Server
                      SERV:
                        type: string
                        maxLength: 20
                        description: Service
                      MSGTYPES:
                        type: string
                        format: byte
                        description: Services
                      HOSTADR:
                        type: string
                        format: byte
                        description: Host IP address
                      SERVNO:
                        type: string
                        format: byte
                        description: Service port number
                      STATE:
                        type: string
                        format: byte
                        description: Server Status
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HOSTS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        HOST:
                          type: string
                          maxLength: 32
                          description: Name of Application Server
                        SERV:
                          type: string
                          maxLength: 20
                          description: Service
                        MSGTYPES:
                          type: string
                          format: byte
                          description: Services
                        HOSTADR:
                          type: string
                          format: byte
                          description: Host IP address
                        SERVNO:
                          type: string
                          format: byte
                          description: Service port number
                        STATE:
                          type: string
                          format: byte
                          description: Server Status
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
