openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPROJECT_GET_PROJECTLIST:
    post:
      tags:
      - PROJECT_DATA
      operationId: /rfc/SPROJECT_GET_PROJECTLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                PROJECTCLASS:
                  type: array
                  items:
                    type: string
                    maxLength: 6
                    description: Possible Project Type
                PROJECT_STATUS:
                  type: string
                  maxLength: 10
                  description: Processing status
                SECOND_LANGUAGE_ACCESS:
                  type: string
                  default: X
                  maxLength: 1
                  description: General Flag
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PROJECTLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        PROJECT_ID:
                          type: string
                          maxLength: 10
                          description: Project name
                        CLASS:
                          type: string
                          maxLength: 6
                          description: Possible Project Type
                        TITLE:
                          type: string
                          maxLength: 60
                          description: Module Title
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
