Update Rust SDK to spec 1.1.2

This commit is contained in:
Foorack
2021-08-31 20:01:31 +02:00
parent 896f984b94
commit 0bb65d838b
89 changed files with 421 additions and 233 deletions

View File

@ -12,7 +12,11 @@ openapi-generator-cli generate \
-i https://vrchatapi.github.io/specification/openapi.yaml \
--http-user-agent="vrchatapi-rust"
# Add license and description to Cargo.toml
sed -i '/^edition = "2018"/i license = "MIT"' Cargo.toml
sed -i '/^edition = "2018"/a description="VRChat API Library for Rust"' Cargo.toml
# Remove messily pasted markdown at top of every file
find src -type f -exec sed -i '/VRChat API Banner/d' {} \;
cargo build