openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB6_ADM_INSERT_DATACLASS:
    post:
      tags:
      - SDB6ADM
      summary: 'DB6: insert dataclass'
      operationId: /rfc/DB6_ADM_INSERT_DATACLASS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CATEGORY:
                  type: string
                  maxLength: 3
                  description: 'DD: Data class/size category (system, customer, standard)'
                CONNECTION:
                  type: string
                  maxLength: 30
                  description: Logical name for a database connection
                DATA_CLASS:
                  type: string
                  maxLength: 5
                  description: Data class in technical settings
                DATA_SPACE:
                  type: string
                  maxLength: 30
                  description: 'DB6: Tablespace Name'
                DESCRIPTION:
                  type: string
                  maxLength: 60
                  description: Explanatory short text
                INDEX_SPACE:
                  type: string
                  maxLength: 30
                  description: Tablespace Name for Indexes for DB2 Universal Database
                LANGUAGE:
                  type: string
                  maxLength: 1
                  description: Language key
              required:
              - CATEGORY
              - DATA_CLASS
              - DATA_SPACE
              - DESCRIPTION
              - LANGUAGE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
