openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB4_API_REVPCKMAP_REMOTE:
    post:
      tags:
      - STU4_EXPLAIN
      summary: 'iSeries: Call the API ''api_revpckmap'' on a Remote Host'
      operationId: /rfc/DB4_API_REVPCKMAP_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LIBRARY:
                  type: string
                  maxLength: 10
                  description: SQL package library
                PACKAGE:
                  type: string
                  maxLength: 10
                  description: SQL package name
                STATEMENT:
                  type: string
                  maxLength: 18
                  description: SQL statement name
              required:
              - LIBRARY
              - PACKAGE
              - STATEMENT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MODULE_NAME:
                    type: string
                    description: SQL statement name
                  MODULE_TYPE:
                    type: integer
                    format: int32
                    description: SQL statement name
                  STATEMENT_NUMBER:
                    type: integer
                    format: int32
                    description: SQL statement name
                  TIMESTAMP:
                    type: string
                    description: SQL statement name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
