Skip to content

Releases: la-rebelion/apicove-tools

v0.2.0 Fetch/API client code generation modes

05 May 21:58
Compare
Choose a tag to compare

Fetch/API client code generation modes

🧪 MochaRunner introduced and Converter boilerplate code in it blocks e12f010.
🛜 We are adding options to generate HTTP or API lib, also the examples updated with operationIds faa2056.
🔘 Add HTTP/API radio onChange function 834cdcf.

With "Fetch HTTP" mode, the client code generated uses node fetch to call the server endpoints based on the Swagger specs.
When the user selects "Client API", the generated code creates mockups to call API functions, this is to simulate the calls assuming you have a server library that can be replaced with helpers.

image

v0.1.0 MVP with Mocha boilerplate code

21 Apr 16:07
Compare
Choose a tag to compare
Pre-release

This project provides a utility to convert Swagger API specifications into Mocha. Only the tags in the Swagger Object (root document object
for the API specification) are considered. If you would like to get more details, please read the main README.md.

  • Swagger v2 support. 🧩
  • Capture the Swagger JSON in the editor and click the Convert Button 🔀
  • Tested with big Swagger files, i.e. Kubernetes 1.29 API. ▶️

Ideas or feature requests, or if you have questions, please, open a discussion.