git.iko.soy/typeable/mock-server-client
on update-generated-code help sign in

Client library for the mock-server

git clone https://git.iko.soy/typeable/mock-server-client.git

About

The package is the client library for the mock server. The source code is generated by the openapi3-code-generator, specifically its patched version.

How to regenerate

cd codegen && ./regen.sh

It requires the nix to be installed in your system because it uses the openapi3-code-generator built by the nix.

After regeneration you will see some .hs files changed. This is because some parts of the libary are modified by hand to make the more usable.

Files

The codegen dir

What will happen if you just call the regen.sh?

It will build the openapi3-code-generator in nix and regenerate the whole Haskell source code. You will see that the code was changed, because as mentioned earlier the original code was slightly modified, so watch your commits.

How the to update the package to the new version of the mock-server?