Netuno has its own framework for creating low-code REST APIs, with support for JWT (JSON Web Token) and OpenAPI 3.0.
More Info about Open API
The entire development framework of web services in Netuno is very versatile allowing any type of development to be carried out.
The framework already offers several features for low-code development, saving many lines of code to fulfill the most common needs such as sending
mails, consuming other
REST APIs, integrating with other
Excel files, sending
SMS, manipulating data database and many others.
Nevertheless when there are no solutions in the Netuno framework, it is possible to easily integrate existing Java, Kotlin, or even JavaSript libraries or to develop resources tailored to be integrated with the Netuno framework.
JWT - JSON Web Token
JWT.io is the standard specification for passing data from the session context to the client via JSON object.
More Info about JWT Token
Therefore, the server does not need to store the sensitive data of the users logged in, instead it becomes a token that is passed on to the client and later on each request this token must be returned.
This token undergoes some security controls such as a validity timeout and a process to allow the creation of a new token without requiring new authentication.
Netuno has integrated JWT support, simple and easy to use, also works integrated with Netuno users and native authenticity.
After the success of Swagger v1 and v2, which have long since become a standard for developing the definition of web services and generating client code.
Swagger made its definition open and started to be OpenAPI 3.
For this reason, remains the foundation for setting the standard of how it is documenting the API and how customers are generated to consume the API.
Netuno already has all the integration with OpenAPI 3.0 and that uses the definition of OpenAPI together with the validation of JSON Schema.
Netuno allows validating the
output of web services using the validation of the
JSON schema to obtain and return as you can see below:
Input: If there is a call to the web service that does not comply with the structure and validations then it will be rejected.
Output: If data is returned that does not comply with the defined structure and validations, then an alert is generated that the web service is not in compliance.
Netuno saves the creation of many
ifs in code to validate the data received, as well as guarantee a validation of the result that the web service is generating, performing a unit test.
The OpenAPI structure generated by Netuno can be used with the Swagger Editor to generate the test interface, documentation and code for API clients in other technologies.
Netuno also supports the creation of web services and hassle-free authentication. It is not compulsory to use JWT or OpenAPI, despite being a highly recommended and standard tool.
It is often used to accelerate the building process of the API or even in situations that involve communication between servers, we choose to simplify as much as possible and save more time.
Netuno allows HTTP authentication.