Skip to content

Commit 534bfa4

Browse files
authored
Add visibility to modeling guide
1 parent 4f60b44 commit 534bfa4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/modeling-guide.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,3 +575,18 @@ class Foo {
575575
faz: string
576576
}
577577
```
578+
579+
#### `@visibility`
580+
581+
You can mark a request as `public`/`feature_flag`/`private` with this tag (the default is `public`).
582+
583+
```ts
584+
/**
585+
* @rest_spec_name namespace.api
586+
* @since 7.5.0
587+
* @visibility private
588+
*/
589+
export interface Request extends RequestBase {
590+
...
591+
}
592+
```

0 commit comments

Comments
 (0)