openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWLWP_ALL_SERVICES_GET:
    post:
      tags:
      - SWLWPS
      operationId: /rfc/SWLWP_ALL_SERVICES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                IM_UNAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: SAP System, User Logon Name
                ET_SERVICES:
                  type: array
                  items:
                    type: object
                    properties:
                      SID:
                        type: string
                        maxLength: 32
                        description: WebFlow Service ID
                      PROTCL:
                        type: string
                        maxLength: 5
                        description: 'Log  enumValues: https=HTTPS,http=HTTP'
                        enum:
                        - https
                        - http
                      SERVER:
                        type: string
                        maxLength: 255
                        description: Server Names
                      PORTNUM:
                        type: integer
                        format: int64
                        description: Port Number
                      PATH:
                        type: string
                        maxLength: 255
                        description: Service path
                      LOGSYS:
                        type: string
                        maxLength: 10
                        description: Logical system
                      TEXT:
                        type: string
                        maxLength: 132
                        description: 'Workflow: Short Text for External Service'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_SERVICES:
                    type: array
                    items:
                      type: object
                      properties:
                        SID:
                          type: string
                          maxLength: 32
                          description: WebFlow Service ID
                        PROTCL:
                          type: string
                          maxLength: 5
                          description: 'Log  enumValues: https=HTTPS,http=HTTP'
                          enum:
                          - https
                          - http
                        SERVER:
                          type: string
                          maxLength: 255
                          description: Server Names
                        PORTNUM:
                          type: integer
                          format: int64
                          description: Port Number
                        PATH:
                          type: string
                          maxLength: 255
                          description: Service path
                        LOGSYS:
                          type: string
                          maxLength: 10
                          description: Logical system
                        TEXT:
                          type: string
                          maxLength: 132
                          description: 'Workflow: Short Text for External Service'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
