Skip to content

Commit

Permalink
Output the public API only in the stack OpenAPI schema
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Dec 13, 2024
1 parent 17e6bf2 commit 41c865c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 355 deletions.
Binary file modified compiler-rs/compiler-wasm-lib/pkg/compiler_wasm_lib_bg.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion compiler-rs/compiler-wasm-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn convert0(json: &str, flavor: &str) -> anyhow::Result<String> {
"all" => None,
"stack" => Some(|a| {
// Generate public and private items for Stack
clients_schema::Flavor::Stack.available(a)
clients_schema::Flavor::Stack.visibility(a) == Some(Visibility::Public)
}),
"serverless" => Some(|a| {
// Generate only public items for Serverless
Expand Down
Loading

0 comments on commit 41c865c

Please sign in to comment.