Skip to content

Commit 72d5412

Browse files
authored
[TypeSpec APIView] Display suppressions in APIVIew (Azure#8090)
* Inital work. * Support suppressions. * Progress. * Progress. * Directive collecting workaround * Remove namespace workaround. * Add test for suppression on operations. * Add test for empty models. * Make directives commentable. * Progress. * Fix up template logic to preserve display. * Ensure suppression lines can be commented on. * Fix formatting. * Bump version.
1 parent 9a5eb9f commit 72d5412

11 files changed

Lines changed: 995 additions & 3932 deletions

File tree

tools/apiview/emitters/typespec-apiview/.prettierrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ trailingComma: "all"
22
printWidth: 120
33
quoteProps: "consistent"
44
endOfLine: lf
5+
tabWidth: 2
56
arrowParens: always
67
plugins:
78
- "./node_modules/@typespec/prettier-plugin-typespec"

tools/apiview/emitters/typespec-apiview/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## Version 0.4.8 (04-18-2024)
4+
Display suppressions in APIView.
5+
Resolve visual anomalies.
6+
37
## Version 0.4.7 (03-22-2024)
48
Support TypeSpec string templates.
59
Fix display issue with templated aliases.

tools/apiview/emitters/typespec-apiview/package-lock.json

Lines changed: 675 additions & 321 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/apiview/emitters/typespec-apiview/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/typespec-apiview",
3-
"version": "0.4.7",
3+
"version": "0.4.8",
44
"author": "Microsoft Corporation",
55
"description": "Library for emitting APIView token files from TypeSpec",
66
"homepage": "https://github.com/Azure/azure-sdk-tools",

0 commit comments

Comments
 (0)