@azure-tools/typespec-autorest-canonical 0.9.0-dev.1 → 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.
Files changed (2) hide show
  1. package/README.md +8 -10
  2. package/package.json +7 -7
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
- ## Emitter
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
- ### Emitter options
36
+ ## Emitter options
39
37
 
40
- #### `output-file`
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
- #### `azure-resource-provider-folder`
59
+ ### `azure-resource-provider-folder`
62
60
 
63
61
  **Type:** `string`
64
62
 
65
- #### `arm-types-dir`
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
- #### `new-line`
69
+ ### `new-line`
72
70
 
73
71
  **Type:** `"crlf" | "lf"`
74
72
 
75
73
  Set the newline character for emitting files.
76
74
 
77
- #### `omit-unreachable-types`
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
- #### `include-x-typespec-name`
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.1",
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,17 +42,17 @@
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.0 || >=0.48.0-dev <0.48.0",
46
- "@azure-tools/typespec-client-generator-core": "~0.47.1 || >=0.48.0-dev <0.48.0",
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.0 || >=0.48.0-dev <0.48.0",
53
- "@azure-tools/typespec-client-generator-core": "~0.47.1 || >=0.48.0-dev <0.48.0",
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
54
  "@types/node": "~22.7.5",
55
- "@typespec/compiler": "~0.61.0 || >=0.62.0-dev <0.62.0",
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",
@@ -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
  }