SK SKYVVA Documentation

10. How to use ‘Open Editor’ button to create message type ?

Introduction

SKYVVA application's functionality for importing JSON Swagger, OpenAPI 3. x, and EDMX files using an Open Editor button. The enhancement, here we described involves a pop-up screen for importing metadata and opening the editor. The main difference is in the second step of importing metadata, where users can manually enter values in the 'Open Editor' and click the 'Upload' button to choose the API of the message type.

Here's a breakdown of the process described:

It's important to ensure that the user interface is clear and intuitive so that users can easily understand and navigate through these steps.

[su_box title="Expectation:" box_color="#2a8af0" title_color="#000000"]The screen has been enhanced for the Open Editor and Import MetaData buttons. This enhancement will allow the user to select the specific API in order to generate the message type.[/su_box]

[su_heading]

How to use the ‘Open Editor’ button to create a message type.

[/su_heading]

Case 1: Swagger 2.0/OpenAPI 2.0 file types.

The process for generating an API from a Swagger 2.0/OpenAPI 2.0 file. Here's a breakdown of the steps are mentioned:

Overall, this process appears to be a streamlined way to import a Swagger 2.0/OpenAPI 2.0 definition, generate an API, and configure message types for communication with the API. It's a common workflow in API development and integration.

[su_box title="Expectation:" box_color="#2a8af0" title_color="#000000"]After selecting the Swagger 2.0/OpenAPI 2.0 file type and entering the value in the open editor box, the API will be generated on the screen, enabling us to choose and store the message type for a specific API.[/su_box]

Required step:

This is a process where a pop-up screen displays API information, including the API name and ReferenceObject, and then generates a REST template, including the Request and Response. Here's a general outline of how users configure this:

Request: Based on the API name and ReferenceObject, dynamically generate the REST request template. This template should include the HTTP method (GET, POST, PUT, DELETE, etc.), the API endpoint, request headers, and request body.

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]It will show the pop-up screen below, displaying the API name and ReferenceObject. It will generate the REST template, including the Request and Response.[/su_box]

Case 2: OpenAPI 3. x file types.

This process is related to working with OpenAPI 3.x files and generating an API. OpenAPI is a specification for building APIs, and it provides a standardized way to describe the endpoints, data models, and operations of an API. Here's a breakdown of the steps you mentioned:

[su_box title="Expectation:" box_color="#2a8af0" title_color="#000000"]After selecting the ‘OpenAPI 3. x’ file type and entering the value in the open editor box, the API will be generated on the screen, enabling us to choose and store the message type for a specific API.[/su_box]

Required step:

This is a process where a pop-up screen displays API information, including the API name and ReferenceObject, and then generates a REST template, including the Request and Response. Here's a general outline of how users configure this:

Request: Based on the API name and ReferenceObject, dynamically generate the REST request template. This template should include the HTTP method (GET, POST, PUT, DELETE, etc.), the API endpoint, request headers, and request body.

[su_box title="Result" box_color="#2a8af0" title_color="#000000"]It will show the pop-up screen below, displaying the API name and ReferenceObject. It will generate the REST template, including the Request and Response.[/su_box]

Case 3: EDMX file types.

This process is related to working with EDMX files and generating APIs using either a REST template or a SOAP template. Let us break down the steps based on your description:

  1. Generate the API: After selecting one of the templates (either REST or SOAP), the system will generate                the API on the screen. This generated API is likely a basic structure that users can customize to meet their                      specific requirements.

      5. Choose and upload the Message Type: Once the API is generated, the user has the opportunity to choose        and save the message type for a specific API.  This step allows the user to configure the API to work with the                  specific data formats you need.

[su_box title="Expectation" box_color="#2a8af0" title_color="#000000"]After selecting the ‘EDMX’ file type and entering the value in the open editor box, you can choose between two templates: Rest template and Soap template. If you select one of them, the API will be generated on the screen, allowing us to choose and store the message type for a specific API.[/su_box]

Select Function 'EntitySet': After selecting the template, the user will need to specify the function the user wants to use. Choose the "EntitySet" function, which relates to a collection of entities in the SKYVVA data model.

Required step:

This is a process where a pop-up screen displays API information, including the API name, and then generates a REST template, including the Request and Response. Here's a general outline of how users configure this:

Overall, this process is a user interface element (the pop-up screen) that helps users access information about an API, and it streamlines the process of generating a REST template to work with that API, including guidance on how to structure requests and handle responses.

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]It will show the pop-up screen below, displaying the API name. It will generate the REST template, including the Request and Response.[/su_box]

Select template 'Rest Template', Select function 'FunctionImport': It appears the user choosing a specific template (in this case, "Rest Template") and a function (likely for defining a RESTful API endpoint or operation) as part of the configuration process. Based on the instructions the user provided, it appears to be related to configuring and setting up API or service using an EDMX file, likely in an environment. Here's a general breakdown of the steps you've mentioned:

Required step:

It describes a result or outcome related to displaying a pop-up screen with API information and generating a REST template with Request and Response components. Here's a more detailed description of the result:

Result Description: When the user performs the specified action, the following result:

A pop-up screen will be shown on the message types. This pop-up screen will contain the relevant API name, providing a clear and informative display for users.

REST template will be automatically generated as part of this process. The REST template will include both Request and Response components, simplifying the process of interacting with the API. Here's what the user can expect in the generated REST template:

Request Component:

HTTP method (e.g., GET, POST, PUT, DELETE) required to interact with the API.

Response Component:

Expected HTTP status codes (e.g., 200 OK, 404 Not Found) and their meanings.

This result ensures that users have access to essential information about the API and a preconfigured REST template to facilitate API interactions, streamlining the integration process.

[su_box title="Result" box_color="#2a8af0" title_color="#000000"]It will show the pop-up screen below, displaying the API name. It will generate the REST template, including the Request and Response.[/su_box]

It describes a series of steps to perform a specific task related to working with an EntitySet Data Model (EDMX), SOAP templates, and function imports in a SKYVVA application. These steps are typically part of the configuration process in an SKYVVA application. Here's a breakdown of the steps you mentioned:

Required step:

It describes a SKYYVA application feature or functionality related to working with APIs and SOAP (Simple Object Access Protocol). To provide more specific guidance or assistance, Here's a general breakdown of the components you mentioned:

Request: This represents the structure and content of the data you send to the API as a request. It includes information like the method to call, input parameters, and data format.

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]It will show the pop-up screen below, displaying the API name. It will generate the SOAP template, including the Request and Response and Fault.[/su_box]

Select Function 'FunctionImport': Choose an operation called 'FunctionImport. This function is within the EDMX file or a function exposed by the SOAP service user working with it.

Required step:

It describes the expected result of a process involving an API, particularly in the context of SOAP (Simple Object Access Protocol). To clarify, here's a breakdown of the described result:

Request: This part of the template specifies how to structure the data and format the request that the client sends to the server. It defines the input parameters and data expected by the API.

In summary, the described result involves a user-friendly pop-up screen displaying the API name and providing a SOAP template that includes sections for request, response, and fault handling. This setup is typical in systems that use SOAP-based APIs for communication between different SKYVVA application components.

[su_box title="Result:" box_color="#2a8af0" title_color="#000000"]It will show the pop-up screen below, displaying the API name. It will generate the SOAP template, including the Request Response and Fault.[/su_box]

Open this article in the interactive viewer →