@azure-tools/typespec-autorest-canonical 0.9.0-dev.0 → 0.9.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/README.md +8 -10
- package/package.json +12 -12
package/README.md
CHANGED
@@ -8,9 +8,7 @@ TypeSpec library for emitting canonical swagger
|
|
8
8
|
npm install @azure-tools/typespec-autorest-canonical
|
9
9
|
```
|
10
10
|
|
11
|
-
##
|
12
|
-
|
13
|
-
### Usage
|
11
|
+
## Usage
|
14
12
|
|
15
13
|
1. Via the command line
|
16
14
|
|
@@ -35,9 +33,9 @@ options:
|
|
35
33
|
option: value
|
36
34
|
```
|
37
35
|
|
38
|
-
|
36
|
+
## Emitter options
|
39
37
|
|
40
|
-
|
38
|
+
### `output-file`
|
41
39
|
|
42
40
|
**Type:** `string`
|
43
41
|
|
@@ -58,29 +56,29 @@ Example: Multiple services
|
|
58
56
|
- `Service1.canonical.openapi.json`
|
59
57
|
- `Service2.canonical.openapi.json`
|
60
58
|
|
61
|
-
|
59
|
+
### `azure-resource-provider-folder`
|
62
60
|
|
63
61
|
**Type:** `string`
|
64
62
|
|
65
|
-
|
63
|
+
### `arm-types-dir`
|
66
64
|
|
67
65
|
**Type:** `string`
|
68
66
|
|
69
67
|
Path to the common-types.json file folder. Default: '${project-root}/../../common-types/resource-management'
|
70
68
|
|
71
|
-
|
69
|
+
### `new-line`
|
72
70
|
|
73
71
|
**Type:** `"crlf" | "lf"`
|
74
72
|
|
75
73
|
Set the newline character for emitting files.
|
76
74
|
|
77
|
-
|
75
|
+
### `omit-unreachable-types`
|
78
76
|
|
79
77
|
**Type:** `boolean`
|
80
78
|
|
81
79
|
Omit unreachable types. By default all types declared under the service namespace will be included. With this flag on only types references in an operation will be emitted.
|
82
80
|
|
83
|
-
|
81
|
+
### `include-x-typespec-name`
|
84
82
|
|
85
83
|
**Type:** `"inline-only" | "never"`
|
86
84
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@azure-tools/typespec-autorest-canonical",
|
3
|
-
"version": "0.9.0-dev.
|
3
|
+
"version": "0.9.0-dev.2",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "TypeSpec library for emitting canonical swagger",
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
@@ -42,29 +42,29 @@
|
|
42
42
|
"peerDependencies": {
|
43
43
|
"@azure-tools/typespec-autorest": "~0.47.0 || >=0.48.0-dev <0.48.0",
|
44
44
|
"@azure-tools/typespec-azure-core": "~0.47.0 || >=0.48.0-dev <0.48.0",
|
45
|
-
"@azure-tools/typespec-azure-resource-manager": "~0.47.
|
46
|
-
"@azure-tools/typespec-client-generator-core": "~0.47.
|
45
|
+
"@azure-tools/typespec-azure-resource-manager": "~0.47.1 || >=0.48.0-dev <0.48.0",
|
46
|
+
"@azure-tools/typespec-client-generator-core": "~0.47.4 || >=0.48.0-dev <0.48.0",
|
47
47
|
"@typespec/versioning": "~0.61.0 || >=0.62.0-dev <0.62.0"
|
48
48
|
},
|
49
49
|
"devDependencies": {
|
50
50
|
"@azure-tools/typespec-autorest": "~0.47.0 || >=0.48.0-dev <0.48.0",
|
51
51
|
"@azure-tools/typespec-azure-core": "~0.47.0 || >=0.48.0-dev <0.48.0",
|
52
|
-
"@azure-tools/typespec-azure-resource-manager": "~0.47.
|
53
|
-
"@azure-tools/typespec-client-generator-core": "~0.47.
|
54
|
-
"@types/node": "~22.7.
|
55
|
-
"@typespec/compiler": "~0.61.
|
52
|
+
"@azure-tools/typespec-azure-resource-manager": "~0.47.1 || >=0.48.0-dev <0.48.0",
|
53
|
+
"@azure-tools/typespec-client-generator-core": "~0.47.4 || >=0.48.0-dev <0.48.0",
|
54
|
+
"@types/node": "~22.7.5",
|
55
|
+
"@typespec/compiler": "~0.61.2 || >=0.62.0-dev <0.62.0",
|
56
56
|
"@typespec/http": "~0.61.0 || >=0.62.0-dev <0.62.0",
|
57
57
|
"@typespec/library-linter": "~0.61.0 || >=0.62.0-dev <0.62.0",
|
58
58
|
"@typespec/openapi": "~0.61.0 || >=0.62.0-dev <0.62.0",
|
59
59
|
"@typespec/rest": "~0.61.0 || >=0.62.0-dev <0.62.0",
|
60
60
|
"@typespec/versioning": "~0.61.0 || >=0.62.0-dev <0.62.0",
|
61
|
-
"@vitest/coverage-v8": "^2.1.
|
62
|
-
"@vitest/ui": "^2.1.
|
61
|
+
"@vitest/coverage-v8": "^2.1.2",
|
62
|
+
"@vitest/ui": "^2.1.2",
|
63
63
|
"c8": "^10.1.2",
|
64
64
|
"change-case": "~5.4.4",
|
65
65
|
"rimraf": "~6.0.1",
|
66
|
-
"typescript": "~5.6.
|
67
|
-
"vitest": "^2.1.
|
66
|
+
"typescript": "~5.6.3",
|
67
|
+
"vitest": "^2.1.2",
|
68
68
|
"@typespec/tspd": "~0.46.0"
|
69
69
|
},
|
70
70
|
"dependencies": {},
|
@@ -79,6 +79,6 @@
|
|
79
79
|
"test:ci": "vitest run --coverage --reporter=junit --reporter=default",
|
80
80
|
"lint": "eslint . --max-warnings=0",
|
81
81
|
"lint:fix": "eslint . --fix ",
|
82
|
-
"regen-docs": "tspd doc . --enable-experimental --output-dir ../../docs/emitters/typespec-autorest-canonical/reference"
|
82
|
+
"regen-docs": "tspd doc . --enable-experimental --output-dir ../../website/src/content/docs/docs/emitters/typespec-autorest-canonical/reference"
|
83
83
|
}
|
84
84
|
}
|