svanill-vault-openapi

Crates.iosvanill-vault-openapi
lib.rssvanill-vault-openapi
version0.1.0
created_at2020-10-10 04:02:22.518842+00
updated_at2020-10-10 04:02:22.518842+00
descriptionsvanill-vault common code generated from openapi spec
homepage
repositoryhttps://github.com/svanill/svanill-vault-openapi
max_upload_size
id297890
size82,455
Riccardo Attilio Galli (riquito)

documentation

README

svanill-vault-openapi

Openapi definition and materialized rust models.

Build

cargo build

Openapi changes

If you edit openapi3.yml you will have to rebuild and commit the model files

./regenerate_models.sh
git add openapi3.yml
git add src/models
git commit -m ...

FAQ

  • why don't you use the generated client and server too?

When I tried last time the server failed to generate, and the client was a bit in a flux because of async support.

Will try again when openapi-generator is more mature.

Commit count: 0

cargo fmt