Skip to main content

One post tagged with "tutorial"

View All Tags

· 2 min read

Generate a Client Library with OpenAPI Generator

Learn how to quickly get started by generating a client library for nearly any programming language.

The power of OpenAPI

Since OpenAPI is an open standard, it allows for some pretty powerful community-driven tools. One such tool is OpenAPI Generator, which can generate client libraries for nearly any programming language from an OpenAPI Specification. Paired with our full Open API specification, you can get started with our API in minutes!

How to get started

Visit OpenAPI Generator and follow the guide on their site to install their CLI tool. Once you have the CLI tool installed, you can generate a client library by running the following command:

openapi-generator generate -i https://api.zigned.se/openapi.json -g <generator> -o <output>

Replace <generator> with the name of the generator you want to use (e.g. typescript-fetch or java) and <output> with the directory where you want the client library to be generated.

For example, if we wanted to generate a Typescript library and place it in /zigned-rest-api-v3-typescript we could run the following command:

openapi-generator generate -i https://api.zigned.se/openapi.json -g typescript-fetch -o /zigned-rest-api-v3-typescript

Caveats

As with any tool, it's never perfect. You might need to tweak the generated output to fit your needs, but it's a great way to get started quickly.

Conclusion

It's never been easier or faster to integrate e-signing in your application. With OpenAPI Generator, you can generate a client library in minutes and start using our API right away. Give it a try and see how easy it is to get started!


These updates are part of our commitment to providing a robust and flexible e-signing solution. We encourage you to explore these new features and see how they can improve your workflows and digital agreement management.

For detailed documentation and more information on how to implement these new features, please visit our API documentation page.

Stay tuned for more updates as we continue to enhance our services to better serve you!