openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_COMPLEX_OBJECT_HEADER:
    post:
      tags:
      - SNF2
      operationId: /rfc/RS_COMPLEX_OBJECT_HEADER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_DEPTH:
                  type: integer
                  format: int32
                P_STRUC_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX:
                        type: integer
                        format: int32
                        description: ''
                      REFERENCE:
                        type: integer
                        format: int32
                        description: ''
                      POSITION:
                        type: integer
                        format: int32
                        description: ''
                      STRUC_TYPE:
                        type: string
                        maxLength: 1
                        description: ''
                      LEVEL:
                        type: integer
                        format: int32
                        description: ''
                      ILENGTH:
                        type: integer
                        format: int32
                        description: ''
                      VLENGTH:
                        type: integer
                        format: int32
                        description: ''
                      OFFSET:
                        type: integer
                        format: int32
                        description: ''
                      GOFFSET:
                        type: integer
                        format: int32
                        description: ''
                      DECIMALS:
                        type: integer
                        format: int32
                        description: ''
                      NAME:
                        type: string
                        maxLength: 100
                        description: ''
                      EDITMASK:
                        type: string
                        maxLength: 15
                        description: ''
              required:
              - P_DEPTH
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_STRUC_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX:
                          type: integer
                          format: int32
                          description: ''
                        REFERENCE:
                          type: integer
                          format: int32
                          description: ''
                        POSITION:
                          type: integer
                          format: int32
                          description: ''
                        STRUC_TYPE:
                          type: string
                          maxLength: 1
                          description: ''
                        LEVEL:
                          type: integer
                          format: int32
                          description: ''
                        ILENGTH:
                          type: integer
                          format: int32
                          description: ''
                        VLENGTH:
                          type: integer
                          format: int32
                          description: ''
                        OFFSET:
                          type: integer
                          format: int32
                          description: ''
                        GOFFSET:
                          type: integer
                          format: int32
                          description: ''
                        DECIMALS:
                          type: integer
                          format: int32
                          description: ''
                        NAME:
                          type: string
                          maxLength: 100
                          description: ''
                        EDITMASK:
                          type: string
                          maxLength: 15
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
