openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MSQ_SPINFO_DOWNLOAD:
    post:
      tags:
      - STUL
      summary: SQL Server download permanent stored procedure info
      operationId: /rfc/MSQ_SPINFO_DOWNLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SPINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD1:
                        type: string
                        maxLength: 120
                        description: ''
                      FIELD2:
                        type: string
                        maxLength: 120
                        description: ''
                      FIELD3:
                        type: string
                        maxLength: 120
                        description: ''
                      FIELD4:
                        type: string
                        maxLength: 120
                        description: ''
                      FIELD5:
                        type: string
                        maxLength: 120
                        description: ''
                      FIELD6:
                        type: string
                        maxLength: 120
                        description: ''
                XML_AS_TABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: MIME data container
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  XML_AS_STRING_OUT:
                    type: object
                    properties:
                      XML_STRING:
                        type: string
                        format: byte
                        description: XML as string
                      LENGTH:
                        type: integer
                        format: int32
                        description: XML length
                  SPINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD1:
                          type: string
                          maxLength: 120
                          description: ''
                        FIELD2:
                          type: string
                          maxLength: 120
                          description: ''
                        FIELD3:
                          type: string
                          maxLength: 120
                          description: ''
                        FIELD4:
                          type: string
                          maxLength: 120
                          description: ''
                        FIELD5:
                          type: string
                          maxLength: 120
                          description: ''
                        FIELD6:
                          type: string
                          maxLength: 120
                          description: ''
                  XML_AS_TABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: MIME data container
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
