@azure-tools/typespec-azure-core 0.30.1 → 0.31.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/foundations.tsp +2 -2
- package/package.json +16 -16
package/lib/foundations.tsp
CHANGED
|
@@ -144,7 +144,7 @@ model Error {
|
|
|
144
144
|
|
|
145
145
|
#suppress "@azure-tools/typespec-providerhub/no-identifier-property-in-array-item" "Error items have no unique identifier."
|
|
146
146
|
@doc("An array of details about specific errors that led to this reported error.")
|
|
147
|
-
details
|
|
147
|
+
details?: Error[];
|
|
148
148
|
|
|
149
149
|
@doc("An object containing more specific information than the current object about the error.")
|
|
150
150
|
innererror?: InnerError;
|
|
@@ -153,7 +153,7 @@ model Error {
|
|
|
153
153
|
@doc("An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.")
|
|
154
154
|
model InnerError {
|
|
155
155
|
@doc("One of a server-defined set of error codes.")
|
|
156
|
-
code
|
|
156
|
+
code?: string;
|
|
157
157
|
|
|
158
158
|
@doc("Inner error.")
|
|
159
159
|
@projectedName("csharp", "InnerErrorObject")
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0-dev.2",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Core library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
7
|
-
"readme": "https://github.com/
|
|
7
|
+
"readme": "https://github.com/Azure/typespec-azure/blob/main/packages/typespec-azure-core/README.md",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/Azure/typespec-azure.git"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/Azure/typespec-azure/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"typespec"
|
|
@@ -42,22 +42,22 @@
|
|
|
42
42
|
"!dist/test/**"
|
|
43
43
|
],
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@typespec/compiler": "~0.44.0",
|
|
46
|
-
"@typespec/http": "~0.44.0",
|
|
47
|
-
"@typespec/rest": "~0.44.0"
|
|
45
|
+
"@typespec/compiler": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
46
|
+
"@typespec/http": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
47
|
+
"@typespec/rest": "~0.44.0 || >=0.45.0-dev <0.45.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@typespec/lint": "~0.44.0"
|
|
50
|
+
"@typespec/lint": "~0.44.0 || >=0.45.0-dev <0.45.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@typespec/compiler": "~0.44.0",
|
|
54
|
-
"@typespec/http": "~0.44.0",
|
|
55
|
-
"@typespec/rest": "~0.44.0",
|
|
56
|
-
"@typespec/eslint-config-typespec": "~0.7.0",
|
|
57
|
-
"@typespec/library-linter": "~0.44.0",
|
|
58
|
-
"@typespec/eslint-plugin": "~0.44.0",
|
|
59
|
-
"@typespec/openapi": "~0.44.0",
|
|
60
|
-
"@typespec/versioning": "~0.44.0",
|
|
53
|
+
"@typespec/compiler": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
54
|
+
"@typespec/http": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
55
|
+
"@typespec/rest": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
56
|
+
"@typespec/eslint-config-typespec": "~0.7.0 || >=0.8.0-dev <0.8.0",
|
|
57
|
+
"@typespec/library-linter": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
58
|
+
"@typespec/eslint-plugin": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
59
|
+
"@typespec/openapi": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
60
|
+
"@typespec/versioning": "~0.44.0 || >=0.45.0-dev <0.45.0",
|
|
61
61
|
"@types/mocha": "~10.0.0",
|
|
62
62
|
"@types/node": "~18.11.9",
|
|
63
63
|
"eslint": "^8.36.0",
|