openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_NTAB_CONTENTS:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_NTAB_CONTENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NTABPART:
                  type: string
                  maxLength: 5
                  description: Name of nametab part (TTAB,FTAB,SNTAB,IREC)
                CONTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      INDEX:
                        type: integer
                        format: int32
                        description: Nametab index
                      TNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
              required:
              - NTABPART
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        INDEX:
                          type: integer
                          format: int32
                          description: Nametab index
                        TNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
