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
22 changes: 22 additions & 0 deletions docs/modeling-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,28 @@ export class Example {
}
```

### Stability property for `@availability`

The `stability` property can be added to an `@availability` annotation to indicate the maturity and expected backwards-compatibility of an API or property.

Syntax:
```ts
/** @availability stack since=<version> stability=<value> */
```

Values and meaning:
- `stable` => "Generally available"
- `beta` => "Beta"
- `experimental` => "Technical Preview"

Examples:
```ts
/**
* @rest_spec_name indices.create
* @availability stack since=1.0.0 stability=experimental
*/
```

#### description

You can (and should!) add a description for each type and property. For an in-depth explanation of how to write good descriptions, see [Documenting the API specification](doc-comments-guide.md).
Expand Down
Loading