openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_ABAP_CLASS:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: Get All ABAP classes according to the given interface
      operationId: /rfc/SWFMOD_GET_ABAP_CLASS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_CLASS_CATID:
                  type: string
                  maxLength: 2
                  description: Object Category
                IV_OBJTYPE:
                  type: string
                  maxLength: 32
                  description: 'Workflow: Type of Objects in Persistent Object References'
                ET_CLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      CATID:
                        type: string
                        maxLength: 2
                        description: Category of Objects in Persistent Object References
                      TYPEID:
                        type: string
                        maxLength: 32
                        description: Type of Objects in Persistent Object References
                      FLG_BUSINS:
                        type: string
                        maxLength: 1
                        description: 'Flag: business object'
                      DESCRIPT:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                ET_MESSAGE_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
                ET_MESSAGE_STRUCT:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - IV_CLASS_CATID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ET_CLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        CATID:
                          type: string
                          maxLength: 2
                          description: Category of Objects in Persistent Object References
                        TYPEID:
                          type: string
                          maxLength: 32
                          description: Type of Objects in Persistent Object References
                        FLG_BUSINS:
                          type: string
                          maxLength: 1
                          description: 'Flag: business object'
                        DESCRIPT:
                          type: string
                          maxLength: 80
                          description: Text (80 Characters)
                  ET_MESSAGE_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
                  ET_MESSAGE_STRUCT:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
