openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/Z_TEST_NESTED_TABLES:
    post:
      tags:
      - Z_TEST_FUNCTIONS
      summary: Nested tables Part 1
      operationId: /rfc/Z_TEST_NESTED_TABLES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IN:
                  type: array
                  items:
                    type: object
                    properties:
                      A_STRING:
                        type: string
                        description: String with length 256
                      A_NUMBER:
                        type: integer
                        format: int32
                        description: Natural number
                      A_STRUCT:
                        type: object
                        properties:
                          A_SUB_STRING:
                            type: string
                            description: String with length 256
                          A_SUB_NUMBER:
                            type: integer
                            format: int32
                            description: Natural number
                          A_SUB_SUB_STRUCT:
                            type: object
                            properties:
                              A_SUB_SUB_STRING:
                                type: string
                                description: String with length 256
                              A_SUB_SUB_NUMBER:
                                type: integer
                                format: int32
                                description: Natural number
              required:
              - IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        A_STRING:
                          type: string
                          description: String with length 256
                        A_NUMBER:
                          type: integer
                          format: int32
                          description: Natural number
                        A_STRUCT:
                          type: object
                          properties:
                            A_SUB_STRING:
                              type: string
                              description: String with length 256
                            A_SUB_NUMBER:
                              type: integer
                              format: int32
                              description: Natural number
                            A_SUB_SUB_STRUCT:
                              type: object
                              properties:
                                A_SUB_SUB_STRING:
                                  type: string
                                  description: String with length 256
                                A_SUB_SUB_NUMBER:
                                  type: integer
                                  format: int32
                                  description: Natural number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
