Skip to main content

35 posts tagged with "improvement"

View All Tags

Improvements and Changes to Validation Messages

路 5 min read

Based on internal and customer feedback, we have revamped our validation messages shown to users during import or generation of artifacts like SDKs/Portal, etc. This release improves message content, introduces a couple of new validation messages and changes severity of some of the older messages.

Improvements to OpenAPI and Postman Import/Export

路 One min read

Support in Transformer for features of OpenAPI like API contact information and global tags has been added. In addition to this, improvements have been made to our Postman parsers including preservation of order of requests, support for folder descriptions and not nesting ungrouped endpoints into folders.

Android SDK and Gradle Version Upgraded

路 One min read

We have updated our Android SDKs to use version 3.0.1 of the Android Plugin for Gradle, and have upgraded the Gradle version to 4.1.

The minimum SDK version has been raised to 16 and the target SDK version has been raised to 26.

Please regenerate your Android SDKs if you wish to get these changes.

HAR Parser Improved - Added Missing Features, Bug Fixes

路 One min read

Our Transformer tool has been supporting HTTP Archive (HAR) format for a long time now. With the addition of new features to our APIMatic tool (e.g. support of multiple servers), there were a few updates required in our HAR parsers. In this regard, several missing features were added and some bugs were also fixed.

Xml Schema Support Improved, Missing Features Added

路 One min read

We have recently revamped our support for XML schema. This includes bug fixes (array types and optional properties were not catered in some cases, issues with circular references, etc.) and addition of missing features (Union of simple types, redefinition of schema types, etc.).

Improved Swagger 2.0 and and Open API 3.0 Parsers

路 One min read

Swagger allows schema inheritance through the use of property "discriminator" in the base schema. During conversions on Transformer/ Dashboard the base type information for child schemas was not being extracted properly and this bug has now been fixed. Additionally, Open API 3.0 export has been improved by eliminating several bugs e.g. some extra disallowed properties were being exported and some required properties and discriminator details were missing.

AngularJS Circular Dependency Fix

路 2 min read

We have changed the structure of the Angular SDK to break cyclic dependencies. Due to this, the following changes have been made:

  • Model deserialization logic has moved out from model files.
  • We have added new files ObjectMapper.js and ModelFactory.js to the SDK.
  • BaseModel is now being used to assign values to model properties (when model class is directly instantiated)
  • BaseController has been added to the SDK.

Please generate your SDK again to get the improved code.

Code Compliance Implemented In Angular

路 2 min read

Since we're always working on improving our generated SDK's, today we're announcing some major work done on the Angular.js SDK.

  • Angular.js generated code is now standard compliant.
  • The standard we're using is John Papa's Angular1 Style Guide.
  • The linter can be run from the command-line by using the command jshint <folder-name-to-lint>.
  • The configuration file for the linter will be included with the SDK from now.

Please generated your SDK again to get the standard compliant code.

Model Classes Code Improved

路 One min read

We've made an improvement to how model properties are now generated in the code. The generated SDK now contains both camel case-d version of the property name and the actual property name (where applicable).
Read on to find more details about the change.

Please generate your SDK again to get the improved code.

Node.js Circular Dependency Fix

路 3 min read

We have changed the structure of the SDK to break cyclic dependencies. Due to this, the following changes have been made:

  • Model deserialization logic has moved out from model classes.
  • We have added new files ObjectMapper.js and ModelFactory.js to the sdk.
  • Exception handling in BaseController has changed to use ObjectMapper.
  • BaseModel is now being used to assign values to model properties (when model class is directly instantiated)
  • BaseController is not being exposed by the API Client now.

Please generate your SDK again to get the improved code.

Adopting AirBnb JS Style Guide and ES6 Primitives

路 3 min read

Keeping with our tradition of Continuous Improvement, we are proud to announce a major revamp of NodeJS SDKs!

  • Our code now conforms with Airbnb's JavaScript Style Guide.
  • We are using ES6 classes, along with other ES6 primitives.
  • You can run npm run lint to lint your code immediately.
  • We generate CI/CD files for Travis, CircleCi, Appveyor and Jenkins to run NodeJS tests.

Please generate your SDK again if you want the improved ES6 based code.

Module File in Angular SDKs

路 One min read

A new file, Module.js has been added to the Angular SDKs. It defines the module of the SDK along with its dependencies. This is not a breaking change. Everything should work as before, this is just to make it easier to specify the modules that the SDK depends upon.

AngularJS SDKs Revamped

路 One min read

Today, we are announcing a major revamp of our AngularJS SDK Code Generation, which includes

  • Improvement in JS code styling.
  • Enforce usage of AngularJS's own dependency injection system and avoid creating globals.
  • Wrapping all code in IIFE to avoid polluting global namespace.
  • All code is now minification safe.