openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_PKG_SET:
    post:
      tags:
      - SKWF_PACKAGE
      operationId: /rfc/SKWF_PKG_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTEXT_ID:
                  type: string
                  maxLength: 32
                  description: 'KW Framework: Context ID'
                DESCRIPTION:
                  type: string
                  maxLength: 64
                  description: 'KW Framework: Description'
                PACKAGE_ID:
                  type: string
                  maxLength: 32
                  description: 'KW Framework: Package ID'
                X_HIDDEN:
                  type: string
                  maxLength: 1
                  description: Boolean Variable (X=true, -=false, space=unknown)
                X_SET_CONTEXT_ID:
                  type: string
                  maxLength: 1
                  description: 'KW Framework: Boolean Flag (''X'' Set, '' '' Deleted)'
                X_SHARED:
                  type: string
                  maxLength: 1
                  description: Boolean Variable (X=true, -=false, space=unknown)
              required:
              - PACKAGE_ID
      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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
