openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BTF_CONVERT_HTML2ITF:
    post:
      tags:
      - SBTF
      operationId: /rfc/BTF_CONVERT_HTML2ITF
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CFG_FONTS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: BTF Configuration Name
                      VALUE:
                        type: string
                        description: BTF Configuration Value
                CFG_FONTSIZE:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: BTF Configuration Name
                      VALUE:
                        type: string
                        description: BTF Configuration Value
                CFG_FORMATS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: BTF Configuration Name
                      VALUE:
                        type: string
                        description: BTF Configuration Value
                CFG_PARAGRAPHS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: BTF Configuration Name
                      VALUE:
                        type: string
                        description: BTF Configuration Value
                CFG_STANDARD:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        description: BTF Configuration Name
                      VALUE:
                        type: string
                        description: BTF Configuration Value
                ENCODING:
                  type: string
                  description: Character Set
                TEXT_IN:
                  type: string
                  format: byte
                  description: HTML text
              required:
              - CFG_FONTS
              - CFG_FONTSIZE
              - CFG_FORMATS
              - CFG_PARAGRAPHS
              - CFG_STANDARD
              - ENCODING
              - TEXT_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TEXT_OUT:
                    type: array
                    items:
                      type: object
                      properties:
                        TDFORMAT:
                          type: string
                          maxLength: 2
                          description: Tag column
                        TDLINE:
                          type: string
                          maxLength: 132
                          description: Text Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
