openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UNICODE_RFC6:
    post:
      tags:
      - TECHED_UNICODE_RFC
      summary: RFC structure with lang field
      operationId: /rfc/UNICODE_RFC6
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXERCISE:
                  type: string
                  maxLength: 50
                  description: Exercise
                LOGON_LANGU:
                  type: string
                  maxLength: 1
                  description: logon language in the source system
                SOURCE:
                  type: string
                  maxLength: 8
                  description: source system
                TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      COLOR:
                        type: string
                        maxLength: 1
                        description: Color ID
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language ID
                      NAME:
                        type: string
                        maxLength: 6
                        description: Name of the color
                      RGB:
                        type: string
                        format: byte
                        description: HTML R(ed)G(reen)B(lue)  value
                USERNAME:
                  type: string
                  maxLength: 12
                  description: R/3 System, user logon name
                COLORTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      COLOR:
                        type: string
                        maxLength: 1
                        description: Color ID
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language ID
                      NAME:
                        type: string
                        maxLength: 6
                        description: Name of the color
                      RGB:
                        type: string
                        format: byte
                        description: HTML R(ed)G(reen)B(lue)  value
              required:
              - EXERCISE
              - LOGON_LANGU
              - SOURCE
              - TAB
              - USERNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COLORTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        COLOR:
                          type: string
                          maxLength: 1
                          description: Color ID
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language ID
                        NAME:
                          type: string
                          maxLength: 6
                          description: Name of the color
                        RGB:
                          type: string
                          format: byte
                          description: HTML R(ed)G(reen)B(lue)  value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
