openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/Z_TEST_ALL_TYPES:
    post:
      tags:
      - Z_TEST_FUNCTIONS
      summary: Sample Baustein um alle Datentypen zu testen
      operationId: /rfc/Z_TEST_ALL_TYPES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TYPE_BOOLEAN_IN:
                  type: string
                  maxLength: 1
                  description: Boolean Variable (X=True, -=False, Space=Unknown)
                TYPE_C_IN:
                  type: string
                  maxLength: 24
                  description: Character field length 24
                TYPE_DATE_IN:
                  type: string
                  format: date
                  description: Field of type DATS
                TYPE_DEC_IN:
                  type: integer
                  format: int64
                  description: Base Value for Order Item
                TYPE_FLPT_IN:
                  type: number
                  description: Factor
                TYPE_GUID_IN:
                  type: object
                  properties:
                    X:
                      type: string
                      format: byte
                      description: UUID in X form (binary)
                    C:
                      type: string
                      maxLength: 32
                      description: UUID in character form
                    C25:
                      type: string
                      maxLength: 25
                      description: UUID in compressed form
                    C22:
                      type: string
                      maxLength: 22
                      description: UUID in compressed form (22 character UUENCODEd)
                TYPE_LRAW_IN:
                  type: string
                  format: byte
                  description: Configuration data
                TYPE_N_IN:
                  type: integer
                  format: int64
                  description: Fiscal Year
                TYPE_P_IN:
                  type: integer
                  format: int32
                  description: Precision of a QUAN field
                TYPE_RAWSTRING_IN:
                  type: string
                  format: byte
                  description: GUID
                TYPE_RAW_IN:
                  type: string
                  format: byte
                  description: Address guid
                TYPE_STRING_IN:
                  type: string
                  description: UUID formats
                TYPE_TIME_IN:
                  type: string
                  maxLength: 6
                  description: Field of type TIMS
                TYPE_XSTRING_IN:
                  type: string
                  format: byte
                  description: UUID formats
              required:
              - TYPE_BOOLEAN_IN
              - TYPE_C_IN
              - TYPE_DATE_IN
              - TYPE_DEC_IN
              - TYPE_FLPT_IN
              - TYPE_GUID_IN
              - TYPE_LRAW_IN
              - TYPE_N_IN
              - TYPE_P_IN
              - TYPE_RAWSTRING_IN
              - TYPE_RAW_IN
              - TYPE_STRING_IN
              - TYPE_TIME_IN
              - TYPE_XSTRING_IN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TYPE_BOOLEAN_OUT:
                    type: string
                    maxLength: 1
                    description: Boolean Variable (X=True, -=False, Space=Unknown)
                  TYPE_C_OUT:
                    type: string
                    maxLength: 24
                    description: Character field length 24
                  TYPE_DATE_OUT:
                    type: string
                    format: date
                    description: Field of type DATS
                  TYPE_DEC_OUT:
                    type: integer
                    format: int64
                    description: Base Value for Order Item
                  TYPE_FLPT_OUT:
                    type: number
                    description: Factor
                  TYPE_GUID_OUT:
                    type: object
                    properties:
                      X:
                        type: string
                        format: byte
                        description: UUID in X form (binary)
                      C:
                        type: string
                        maxLength: 32
                        description: UUID in character form
                      C25:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
                      C22:
                        type: string
                        maxLength: 22
                        description: UUID in compressed form (22 character UUENCODEd)
                  TYPE_LRAW_OUT:
                    type: string
                    format: byte
                    description: Configuration data
                  TYPE_N_OUT:
                    type: integer
                    format: int64
                    description: Fiscal Year
                  TYPE_P_OUT:
                    type: integer
                    format: int32
                    description: Precision of a QUAN field
                  TYPE_RAWSTRING_OUT:
                    type: string
                    format: byte
                    description: GUID
                  TYPE_RAW_OUT:
                    type: string
                    format: byte
                    description: Address guid
                  TYPE_STRING_OUT:
                    type: string
                    description: UUID formats
                  TYPE_TIME_OUT:
                    type: string
                    maxLength: 6
                    description: Field of type TIMS
                  TYPE_XSTRING_OUT:
                    type: string
                    format: byte
                    description: UUID formats
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
