Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 2 additions & 26 deletions docs/modeling-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -662,30 +662,6 @@ class Foo {
}
```

#### `@stability`
#### `@stability` and `@visibility`

You can mark a class or property of a type as stable/beta/experimental with this tag (the default is stable).

```ts
class Foo {
bar: string
/** @stability experimental */
baz?: string
faz: string
}
```

#### `@visibility`

You can mark a request as `public`/`feature_flag`/`private` with this tag (the default is `public`).

```ts
/**
* @rest_spec_name namespace.api
* @availability stack since=7.5.0
* @visibility private
*/
export interface Request extends RequestBase {
...
}
```
These annotations have been removed, use `@availability` instead.