openapi: 3.2.0 info: title: Fenergo Nebula Integration Core Transformer Library API description: '**Integration Core API**: Integration Core BFF API allows to create and access integration flows and its'' executions.' version: '1.0' servers: - url: /integrationcore security: - Bearer: [] tags: - name: TransformerLibrary paths: /api/transformerLibraries/library/{libraryKey}/draft: post: tags: - TransformerLibrary summary: Creates a new draft version for an existing transformer library description: 'Required permissions: Following permissions are required: IntegrationFlowsConfigurationEdit Required permissions: Following permissions are required: IntegrationFlowsConfigurationEdit' operationId: CreateTransformerLibraryDraft parameters: - name: libraryKey in: path description: The library key of the library to create a new draft for. required: true schema: type: string - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: Optional data transfer object containing notes for the new draft version. content: application/json: schema: allOf: - $ref: '#/components/schemas/CreateTransformerLibraryDraftDto' responses: '202': description: Accepted content: application/json: schema: $ref: '#/components/schemas/GuidServiceResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found type: Error errorCode: Error Code '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT /api/transformerLibraries/library/generate-types: post: tags: - TransformerLibrary summary: Generates TypeScript type declarations from an OpenAPI specification using NSwag description: 'Required permissions: Following permissions are required: IntegrationFlowsConfigurationAccess Required permissions: Following permissions are required: IntegrationFlowsConfigurationAccess' operationId: GenerateTypesFromOpenApi parameters: - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: The OpenAPI spec and generation options. content: application/json: schema: allOf: - $ref: '#/components/schemas/GenerateTypesFromOpenApiRequestDto' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/GenerateTypesFromOpenApiResponseDtoServiceResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT /api/transformerLibraries/library/fetch-openapi-spec: post: tags: - TransformerLibrary summary: Fetches an OpenAPI specification from a remote URL (server-side proxy to avoid… description: 'Required permissions: Following permissions are required: IntegrationFlowsConfigurationAccess Required permissions: Following permissions are required: IntegrationFlowsConfigurationAccess' operationId: FetchOpenApiSpec parameters: - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: The URL to fetch. content: application/json: schema: allOf: - $ref: '#/components/schemas/FetchOpenApiSpecRequestDto' responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/FetchOpenApiSpecResponseDtoServiceResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT components: schemas: FetchOpenApiSpecResponseDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/FetchOpenApiSpecResponseDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false GenerateTypesFromOpenApiResponseDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/GenerateTypesFromOpenApiResponseDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false GenerateTypesFromOpenApiResponseDto: type: object properties: generatedTypes: type: - string - 'null' availableModels: type: - array - 'null' items: type: string selectedModels: type: - array - 'null' items: type: string openApiVersion: type: - string - 'null' additionalProperties: false CreateTransformerLibraryDraftDto: type: object properties: notes: maxLength: 1000 type: - string - 'null' additionalProperties: false FetchOpenApiSpecResponseDto: type: object properties: content: type: - string - 'null' additionalProperties: false GuidServiceResponse: type: object properties: data: type: string format: uuid messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false FetchOpenApiSpecRequestDto: type: object properties: url: type: - string - 'null' additionalProperties: false ServiceResponseMessage: type: object properties: message: type: - string - 'null' type: type: - string - 'null' errorCode: type: - string - 'null' additionalProperties: false GenerateTypesFromOpenApiRequestDto: type: object properties: openApiSpec: type: - string - 'null' selectedModels: type: - array - 'null' items: type: string typeStyle: type: - string - 'null' additionalProperties: false ObjectServiceResponse: type: object properties: data: {} messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false StringServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false securitySchemes: Bearer: type: apiKey description: Please insert JWT with Bearer into field name: Authorization in: header