openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_PKG_ROOT_CREATE:
    post:
      tags:
      - SKWF_PACKAGE
      operationId: /rfc/SKWF_PKG_ROOT_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                APPL:
                  type: string
                  maxLength: 15
                  description: 'KW Framework: Application'
                CONTEXT_ID:
                  type: string
                  maxLength: 32
                  description: 'KW Framework: Context ID'
                CSPC:
                  type: string
                  maxLength: 30
                  description: Connection Space
                PACKAGE_DESC:
                  type: string
                  maxLength: 64
                PACKAGE_ID:
                  type: string
                  maxLength: 32
                  description: Package ID
                X_HIDDEN:
                  type: string
                  maxLength: 1
                X_SHARED:
                  type: string
                  maxLength: 1
              required:
              - APPL
              - CSPC
              - PACKAGE_DESC
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  NEW_PACKAGE_ID:
                    type: string
                    maxLength: 32
                    description: Information object
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
