Skip to content

Commit 41c865c

Browse files
committed
Output the public API only in the stack OpenAPI schema
1 parent 17e6bf2 commit 41c865c

File tree

3 files changed

+1
-355
lines changed

3 files changed

+1
-355
lines changed
Binary file not shown.

compiler-rs/compiler-wasm-lib/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fn convert0(json: &str, flavor: &str) -> anyhow::Result<String> {
3131
"all" => None,
3232
"stack" => Some(|a| {
3333
// Generate public and private items for Stack
34-
clients_schema::Flavor::Stack.available(a)
34+
clients_schema::Flavor::Stack.visibility(a) == Some(Visibility::Public)
3535
}),
3636
"serverless" => Some(|a| {
3737
// Generate only public items for Serverless

0 commit comments

Comments
 (0)