Skip to content

Commit

Permalink
Fix OpenAPI Specification (#155)
Browse files Browse the repository at this point in the history
Fixes the specification by adding the security scheme to be able to use
the JWT token provided by AWS Cocgnito to authenticate the API requests.

Signed-off-by: Rémy Greinhofer <[email protected]>
  • Loading branch information
rgreinho authored Nov 9, 2024
1 parent a47577d commit f145e8b
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 364 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ debug/
lambdas/.env
lambdas/tests/.hypothesis
lambdas/tests/.venv
specs/
target/
12 changes: 3 additions & 9 deletions bnaclient/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,14 @@ name = "bnaclient"
version = "1.0.0"
edition = "2021"
license = "MIT"
description = "Autogenerated API client for the BNA API."
readme = "README.md"
repository = "https://github.com/PeopleForBikes/bna-api/tree/main/bnaclient"

[dependencies]

bytes = "1.0"
chrono = { workspace = true, features = ["serde"] }
futures-core = "0.3"
percent-encoding = "2.3"
reqwest = { workspace = true, default-features = false, features = [
"json",
"stream",
] }
reqwest = { workspace = true, features = ["json", "stream"] }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_urlencoded = "0.7"
uuid = { workspace = true }
uuid = { workspace = true, features = ["serde", "v4"] }
Loading

0 comments on commit f145e8b

Please sign in to comment.