-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite struct and path generation (#22)
* Rewrite struct and path generation * Fix readme being written to wrong dir * update version number in Cargo.toml * Add integer limit matching * Add JSON body params * update version number in cargo.lock * make all typ fields public * Switch to string builder, Response enum deserialization * Correctly handle response codes * update version number in specfile --------- Co-authored-by: ByteOtter <[email protected]>
- Loading branch information
Showing
13 changed files
with
499 additions
and
399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
/target | ||
/output | ||
/thanix_client | ||
|
||
# IDE files | ||
.vs/ | ||
.vscode/ | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "thanix" | ||
authors = ["Christopher Hock <[email protected]>"] | ||
version = "0.1.0-alpha.9" | ||
version = "0.1.0-alpha.10" | ||
publish = true | ||
edition = "2021" | ||
description = "A yaml-to-rust code generator for generating Rust code from yaml config files e.g. as found in openAPI." | ||
|
@@ -12,7 +12,9 @@ license = "GPL-3.0" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
check_keyword = "0.2.0" | ||
clap = {version = "4.4.2", features = ["derive"]} | ||
convert_case = "0.6.0" | ||
openapiv3 = "2.0.0" | ||
serde = { version = "1.0.195", features = ["derive"] } | ||
serde_yaml = "0.9.30" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.