openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWB_EXPR_CHECK_TYPE_OP_TYPE:
    post:
      tags:
      - SWB2
      operationId: /rfc/SWB_EXPR_CHECK_TYPE_OP_TYPE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXPR1:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: Result type (only for 3-character operations)
                EXPR1_IS_INITIAL:
                  type: string
                  maxLength: 1
                  description: '1st expression: Length in bytes'
                EXPR1_IS_NIL:
                  type: string
                  maxLength: 1
                  description: '1st expression: Length in bytes'
                EXPR1_IS_OBJECT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '1st expression: Type: C,I,... like ABAP; o=obj, B=Bool'
                EXPR1_IS_TABLE:
                  type: string
                  maxLength: 1
                  description: '1st expression: Type: C,I,... like ABAP; o=obj, B=Bool'
                EXPR1_LENGTH:
                  type: integer
                  format: int64
                  description: '1st expression: Length in bytes'
                EXPR1_OBJ_TYPE:
                  type: string
                  maxLength: 10
                  description: '1st expression: Object type (if ''o'')'
                EXPR1_TYPE:
                  type: string
                  maxLength: 1
                  description: '1st expression: Type: C,I,... like ABAP; o=obj, B=Bool'
                EXPR1_VALUE:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: '1st expression: Value (C255)'
                EXPR2:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: Operator
                EXPR2_IS_INITIAL:
                  type: string
                  maxLength: 1
                  description: '2nd expression: Length in bytes'
                EXPR2_IS_NIL:
                  type: string
                  maxLength: 1
                  description: '2nd expression: Length in bytes'
                EXPR2_IS_OBJECT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '2nd expression: Type: C,I,.. like ABAP; o=obj, B=Bool'
                EXPR2_IS_TABLE:
                  type: string
                  maxLength: 1
                  description: '2nd expression: Type: C,I,.. like ABAP; o=obj, B=Bool'
                EXPR2_LENGTH:
                  type: integer
                  format: int64
                  description: '2nd expression: Length in bytes'
                EXPR2_OBJ_TYPE:
                  type: string
                  maxLength: 10
                  description: '2nd expression: Object type (if ''o'')'
                EXPR2_TYPE:
                  type: string
                  maxLength: 1
                  description: '2nd expression: Type: C,I,.. like ABAP; o=obj, B=Bool'
                EXPR2_VALUE:
                  type: string
                  default: ' '
                  maxLength: 255
                  description: '2nd expression: Value (C255)'
                OPERATOR:
                  type: string
                  maxLength: 2
                  description: Operator
                RESULT_ELEMENT:
                  type: string
                  default: ' '
                  maxLength: 32
                RESULT_IS_OBJECT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Result type (only for 3-character operations)
                RESULT_IS_TABLE:
                  type: string
                  default: ' '
                  maxLength: 1
                RESULT_LENGTH:
                  type: integer
                  format: int64
                  description: Result type (only for 3-character operations)
                RESULT_OBJ_TYPE:
                  type: string
                  maxLength: 10
                  description: Result type (only for 3-character operations)
                RESULT_TYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Result type (only for 3-character operations)
                EXPRESSION_ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      DATAFLOW:
                        type: string
                        maxLength: 1
                        description: 'Workflow Binding: Binding Time  enumValues: F=Export using function module,E=Export to called container,I=Import from called container,T=Replacement of container variables in text line,J=Import using function module'
                        enum:
                        - F
                        - E
                        - I
                        - T
                        - J
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      INDEX:
                        type: integer
                        format: int64
                        description: Index for table element
                      EXPR:
                        type: string
                        maxLength: 255
                        description: Expression in Binding Definition
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - EXPR1_TYPE
              - EXPR2_TYPE
              - OPERATOR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERRORCOUNT:
                    type: integer
                    format: int32
                    description: Number of errors found
                  RESULT_IS_TABLE:
                    type: string
                    maxLength: 1
                    description: Result type (only for 3-character operations)
                  RESULT_LENGTH:
                    type: integer
                    format: int64
                    description: Result type (only for 3-character operations)
                  RESULT_TYPE:
                    type: string
                    maxLength: 1
                    description: Result type (only for 3-character operations)
                  WORST_MSGTYPE:
                    type: string
                    maxLength: 1
                    description: Number of errors found
                  EXPRESSION_ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        DATAFLOW:
                          type: string
                          maxLength: 1
                          description: 'Workflow Binding: Binding Time  enumValues: F=Export using function module,E=Export to called container,I=Import from called container,T=Replacement of container variables in text line,J=Import using function module'
                          enum:
                          - F
                          - E
                          - I
                          - T
                          - J
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element
                        INDEX:
                          type: integer
                          format: int64
                          description: Index for table element
                        EXPR:
                          type: string
                          maxLength: 255
                          description: Expression in Binding Definition
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
