@azure-tools/typespec-autorest 0.40.0-dev.5 → 0.40.0

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 -8
  2. package/package.json +20 -21
package/README.md CHANGED
@@ -141,10 +141,10 @@ Create read-only property schema for lro status
141
141
 
142
142
  ##### Parameters
143
143
 
144
- | Name | Type | Description |
145
- | --------- | ----------------------- | ---------------------------------------- |
146
- | pathOrUri | `valueof scalar string` | path or Uri to the example file. |
147
- | title | `valueof scalar string` | name or description of the example file. |
144
+ | Name | Type | Description |
145
+ | --------- | ---------------- | ---------------------------------------- |
146
+ | pathOrUri | `valueof string` | path or Uri to the example file. |
147
+ | title | `valueof string` | name or description of the example file. |
148
148
 
149
149
  #### `@useRef`
150
150
 
@@ -158,10 +158,10 @@ Create read-only property schema for lro status
158
158
 
159
159
  ##### Target
160
160
 
161
- `union Model | ModelProperty`
161
+ `Model | ModelProperty`
162
162
 
163
163
  ##### Parameters
164
164
 
165
- | Name | Type | Description |
166
- | ------- | ----------------------- | --------------------------------- |
167
- | jsonRef | `valueof scalar string` | path or Uri to an OpenAPI schema. |
165
+ | Name | Type | Description |
166
+ | ------- | ---------------- | --------------------------------- |
167
+ | jsonRef | `valueof string` | path or Uri to an OpenAPI schema. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/typespec-autorest",
3
- "version": "0.40.0-dev.5",
3
+ "version": "0.40.0",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting openapi from the TypeSpec REST protocol binding",
6
6
  "homepage": "https://azure.github.io/typespec-azure",
@@ -40,27 +40,16 @@
40
40
  "!dist/test/**"
41
41
  ],
42
42
  "peerDependencies": {
43
- "@azure-tools/typespec-azure-core": "~0.39.1 || >=0.40.0-dev <0.40.0",
44
- "@azure-tools/typespec-client-generator-core": "~0.39.1 || >=0.40.0-dev <0.40.0",
45
- "@typespec/compiler": "~0.53.1 || >=0.54.0-dev <0.54.0",
46
- "@typespec/http": "~0.53.0 || >=0.54.0-dev <0.54.0",
47
- "@typespec/openapi": "~0.53.0 || >=0.54.0-dev <0.54.0",
48
- "@typespec/rest": "~0.53.0 || >=0.54.0-dev <0.54.0",
49
- "@typespec/versioning": "~0.53.0 || >=0.54.0-dev <0.54.0"
43
+ "@azure-tools/typespec-azure-core": "~0.40.0",
44
+ "@typespec/compiler": "~0.54.0",
45
+ "@azure-tools/typespec-client-generator-core": "~0.40.0",
46
+ "@typespec/http": "~0.54.0",
47
+ "@typespec/openapi": "~0.54.0",
48
+ "@typespec/rest": "~0.54.0",
49
+ "@typespec/versioning": "~0.54.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@azure-tools/typespec-azure-core": "~0.39.1 || >=0.40.0-dev <0.40.0",
53
- "@azure-tools/typespec-client-generator-core": "~0.39.1 || >=0.40.0-dev <0.40.0",
54
52
  "@types/node": "~18.11.19",
55
- "@typespec/compiler": "~0.53.1 || >=0.54.0-dev <0.54.0",
56
- "@typespec/eslint-config-typespec": "~0.53.0 || >=0.54.0-dev <0.54.0",
57
- "@typespec/eslint-plugin": "~0.53.0 || >=0.54.0-dev <0.54.0",
58
- "@typespec/http": "~0.53.0 || >=0.54.0-dev <0.54.0",
59
- "@typespec/json-schema": "~0.53.1 || >=0.54.0-dev <0.54.0",
60
- "@typespec/library-linter": "~0.53.0 || >=0.54.0-dev <0.54.0",
61
- "@typespec/openapi": "~0.53.0 || >=0.54.0-dev <0.54.0",
62
- "@typespec/rest": "~0.53.0 || >=0.54.0-dev <0.54.0",
63
- "@typespec/versioning": "~0.53.0 || >=0.54.0-dev <0.54.0",
64
53
  "@vitest/coverage-v8": "^1.2.2",
65
54
  "@vitest/ui": "^1.2.2",
66
55
  "c8": "^9.1.0",
@@ -69,9 +58,19 @@
69
58
  "rimraf": "~5.0.5",
70
59
  "typescript": "~5.3.3",
71
60
  "vitest": "^1.2.2",
72
- "@typespec/tspd": "~0.46.0"
61
+ "@azure-tools/typespec-azure-core": "~0.40.0",
62
+ "@azure-tools/typespec-client-generator-core": "~0.40.0",
63
+ "@typespec/compiler": "~0.54.0",
64
+ "@typespec/eslint-config-typespec": "~0.54.0",
65
+ "@typespec/eslint-plugin": "~0.54.0",
66
+ "@typespec/http": "~0.54.0",
67
+ "@typespec/json-schema": "~0.54.0",
68
+ "@typespec/library-linter": "~0.54.0",
69
+ "@typespec/openapi": "~0.54.0",
70
+ "@typespec/rest": "~0.54.0",
71
+ "@typespec/tspd": "~0.46.0",
72
+ "@typespec/versioning": "~0.54.0"
73
73
  },
74
- "dependencies": {},
75
74
  "scripts": {
76
75
  "clean": "rimraf ./dist ./temp",
77
76
  "build": "npm run regen-autorest-openapi-schema && tsc -p . && npm run lint-typespec-library",