Skip to content

Commit

Permalink
chore: new contributor
Browse files Browse the repository at this point in the history
  • Loading branch information
kriogenia committed Oct 17, 2024
1 parent 66b13d2 commit c14ec1f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@

* [Soto Estévez](https://github.com/kriogenia)
* [Sachith C Shetty](https://github.com/shettysach)
* [Toastx](https://github.com/toastx)
7 changes: 6 additions & 1 deletion book/src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
[Introduction](./introduction.md)

# User Guide

- [Installation](./user_guide/installation.md)
- [How to run](./user_guide/how_to_run.md)

# Reference Guide

- [Request DSL](./reference_guide/request_dsl.md)
- [Body](./reference_guide/request_dsl/body.md)
- [Input parameters](./reference_guide/request_dsl/input_parameters.md)
Expand All @@ -18,6 +20,7 @@
- [Tools](./reference_guide/tools.md)

# Roadmap

- [Upcoming](./roadmap/upcoming.md)
- [Piping]()
- [--env]()
Expand All @@ -26,4 +29,6 @@

---

[FAQ](./faq.md)
[FAQ](./faq.md)
[Contributors](./contributors.md)

4 changes: 3 additions & 1 deletion book/src/contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@

* [Soto Estévez](https://github.com/kriogenia)
* [Sachith C Shetty](https://github.com/shettysach)
* [Toastx](https://github.com/toastx)

For more information, please refer to our [CONTRIBUTING](CONTRIBUTING.md) guide.
For more information, please refer to our
[CONTRIBUTING](https://github.com/kriogenia/rede/CONTRIBUTING.md) guide.
11 changes: 5 additions & 6 deletions parser/src/schema/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ pub(crate) enum Body {
Pdf(String),
#[serde(alias = "png")]
Png(String),
#[serde(alias = "jpg")]
#[serde(alias = "jpeg")]
#[serde(alias = "jpg", alias = "jpeg")]
Jpeg(String),
#[serde(alias = "file")]
Binary(String),
Expand Down Expand Up @@ -65,13 +64,13 @@ impl From<Body> for SchemaBody {
path,
mime: mime::APPLICATION_PDF,
},
Body::Png(path)=> SchemaBody::Binary {
Body::Png(path) => SchemaBody::Binary {
path,
mime: mime::IMAGE_PNG
mime: mime::IMAGE_PNG,
},
Body::Jpeg(path)=> SchemaBody::Binary {
Body::Jpeg(path) => SchemaBody::Binary {
path,
mime: mime::IMAGE_JPEG
mime: mime::IMAGE_JPEG,
},
Body::Binary(path) => SchemaBody::Binary {
path,
Expand Down

0 comments on commit c14ec1f

Please sign in to comment.