openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWN_CREATE_SHORTCUT:
    post:
      tags:
      - SWN_UTILS
      operationId: /rfc/SWN_CREATE_SHORTCUT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                I_CUSTOM:
                  type: string
                  maxLength: 255
                I_GUIPARM:
                  type: string
                  maxLength: 80
                I_LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_PARAMETER:
                  type: string
                  maxLength: 255
                I_REPORT:
                  type: string
                  maxLength: 40
                I_SAPLOGON_ID:
                  type: string
                  maxLength: 40
                I_SYSID:
                  type: string
                  default: SY-SYSID
                  maxLength: 8
                I_SYSTEM_COMMAND:
                  type: string
                  maxLength: 40
                I_TITLE:
                  type: string
                  maxLength: 80
                I_TRANSACTION:
                  type: string
                  maxLength: 20
                I_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                I_WINDOWSIZE:
                  type: string
                  default: Normal window
                  maxLength: 40
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SHORTCUT_STRING:
                    type: string
                  SHORTCUT_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
