Skip to content

Commit

Permalink
rpc: remove logic for generating openapi spec
Browse files Browse the repository at this point in the history
Since we'll be leveraging gRPC + protobuf instead of a handrolled REST
api we no longer need to maintain the infra for generating an openapi
scpec. In the future we can explore generating an openapi spec from the
proto files themselves as is used in grpc-gateway.
  • Loading branch information
bmwill committed Dec 23, 2024
1 parent c431939 commit ed29f84
Show file tree
Hide file tree
Showing 22 changed files with 71 additions and 2,032 deletions.
61 changes: 1 addition & 60 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions crates/sui-rpc-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ reqwest.workspace = true
url.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_yaml.workspace = true
serde_with.workspace = true
tap.workspace = true
thiserror.workspace = true
Expand All @@ -25,9 +24,6 @@ itertools.workspace = true
sui-sdk-types.workspace = true
sui-sdk-transaction-builder.workspace = true
prometheus.workspace = true
openapiv3 = { git = "https://github.com/bmwill/openapiv3.git", rev = "ca4b4845b7c159a39f5c68ad8f7f76cb6f4d6963" }
schemars.workspace = true
documented = "0.6.0"
http.workspace = true
tower.workspace = true

Expand Down
21 changes: 0 additions & 21 deletions crates/sui-rpc-api/openapi/elements.html

This file was deleted.

Loading

0 comments on commit ed29f84

Please sign in to comment.