openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_SYSCAT_GET_ROUTINEPARMS:
    post:
      tags:
      - SDB6CAT
      summary: 'DB6: get UDF system catalog info'
      operationId: /rfc/DB6_SYSCAT_GET_ROUTINEPARMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                PARMNAME:
                  type: string
                  maxLength: 128
                  description: 'DB6: long table name'
                ROUTINENAME:
                  type: string
                  maxLength: 128
                  description: 'DB6: long table name'
                ROUTINESCHEMA:
                  type: string
                  maxLength: 20
                  description: 'DB6: Schema Name'
                ROWTYPE:
                  type: string
                  maxLength: 1
                  description: 'DB6: long table name'
                PARAMETERS:
                  type: array
                  items:
                    type: object
                    properties:
                      ROUTINESCHEMA:
                        type: string
                        maxLength: 20
                        description: 'DB6: Schema Name'
                      ROUTINENAME:
                        type: string
                        maxLength: 128
                        description: 'DB6: long table name'
                      PARMNAME:
                        type: string
                        maxLength: 128
                        description: 'DB6: long table name'
                      ROWTYPE:
                        type: string
                        maxLength: 1
                        description: ''
                      ORDINAL:
                        type: integer
                        format: int32
                        description: ''
                      TYPENAME:
                        type: string
                        maxLength: 128
                        description: 'DB6: long table name'
                      LOCATOR:
                        type: string
                        maxLength: 1
                        description: ''
                      LENGTH:
                        type: integer
                        format: int32
                        description: ''
                      SCALE:
                        type: integer
                        format: int32
                        description: ''
              required:
              - ROUTINESCHEMA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PARAMETERS:
                    type: array
                    items:
                      type: object
                      properties:
                        ROUTINESCHEMA:
                          type: string
                          maxLength: 20
                          description: 'DB6: Schema Name'
                        ROUTINENAME:
                          type: string
                          maxLength: 128
                          description: 'DB6: long table name'
                        PARMNAME:
                          type: string
                          maxLength: 128
                          description: 'DB6: long table name'
                        ROWTYPE:
                          type: string
                          maxLength: 1
                          description: ''
                        ORDINAL:
                          type: integer
                          format: int32
                          description: ''
                        TYPENAME:
                          type: string
                          maxLength: 128
                          description: 'DB6: long table name'
                        LOCATOR:
                          type: string
                          maxLength: 1
                          description: ''
                        LENGTH:
                          type: integer
                          format: int32
                          description: ''
                        SCALE:
                          type: integer
                          format: int32
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
