openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/XSLT_MAINTENANCE_RFC:
    post:
      tags:
      - O2_XSLTDESC
      operationId: /rfc/XSLT_MAINTENANCE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AUTHOR:
                  type: string
                  maxLength: 12
                  description: Author of the Repository object
                I_DESCRIPT:
                  type: string
                  maxLength: 60
                  description: Short Description
                I_GEN_FLAG:
                  type: string
                  maxLength: 1
                  description: Generation Flag
                I_LANGUAGE:
                  type: string
                  maxLength: 1
                  description: Language Key
                I_OPERATION:
                  type: string
                  maxLength: 70
                  description: Operation code
                I_PACKAGE:
                  type: string
                  maxLength: 30
                  description: Package
                I_STATE:
                  type: string
                  maxLength: 1
                  description: 'ABAP: Program Status (Active, Saved, Transported...)'
                I_TRANSPORT_REQUEST:
                  type: string
                  maxLength: 20
                  description: Request/Task
                I_XSLT_NAME:
                  type: string
                  maxLength: 30
                  description: Name of an XSLT Program
                I_XSLT_SOURCE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: Line in BSP Page
              required:
              - I_DESCRIPT
              - I_OPERATION
              - I_PACKAGE
              - I_XSLT_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ERROR_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: integer
                          format: int32
                          description: Type (Error, Warning)
                        SRC_LINE:
                          type: integer
                          format: int32
                          description: Program Line
                        SRC_NAME:
                          type: string
                          description: (Include) Programm Name
                        CODE:
                          type: integer
                          format: int32
                          description: Message code
                        TEXT:
                          type: string
                          description: Message Text
                  E_STATE:
                    type: string
                    maxLength: 1
                    description: 'ABAP: Program Status (Active, Saved, Transported...)'
                  E_TRANSPORT_REQUEST:
                    type: string
                    maxLength: 20
                    description: Request/Task
                  E_XSLT_ATTRIBUTES:
                    type: object
                    properties:
                      XSLTDESC:
                        type: string
                        maxLength: 40
                        description: Name of an XSLT Program
                      AUTHOR:
                        type: string
                        maxLength: 12
                        description: Author
                      CREATEDON:
                        type: string
                        format: date
                        description: Created on
                      CHANGEDBY:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHANGEDON:
                        type: string
                        format: date
                        description: Changed On
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESCRIPT:
                        type: string
                        maxLength: 60
                        description: Short Description
                  E_XSLT_SOURCE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: Line in BSP Page
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
