This repo contains automatically generated rust types for the OpenResponses API specification, which is available as an OpenAPI 3.1 spec.
Generation is done using oas3-gen
To generate the types yourself from the newest HEAD of upstream main:
-
Make sure you have
nixinstalled or install it with:sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon -
Do
nix run, which will fetch the OpenAPI spec, generate the rust types and format the resulting code. Some manual changes may be required to make everything compile.
- publish to
crates.io