@typespec/openapi 0.44.0-dev.1 → 0.44.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/lib/decorators.tsp +1 -1
  2. package/package.json +10 -11
@@ -45,7 +45,7 @@ extern dec extension(target: unknown, key: string, value: unknown);
45
45
  * op listPets(): Pet[] | PetStoreResponse;
46
46
  * ```
47
47
  */
48
- extern dec defaultResponse(target: object);
48
+ extern dec defaultResponse(target: Model);
49
49
 
50
50
  /**
51
51
  * Specify the OpenAPI `externalDocs` property for this type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/openapi",
3
- "version": "0.44.0-dev.1",
3
+ "version": "0.44.0",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library providing OpenAPI concepts",
6
6
  "homepage": "https://microsoft.github.io/typespec",
@@ -42,19 +42,19 @@
42
42
  "!dist/test/**"
43
43
  ],
44
44
  "peerDependencies": {
45
- "@typespec/compiler": ">=0.43.0",
46
- "@typespec/http": ">=0.43.0",
47
- "@typespec/rest": ">=0.43.0"
45
+ "@typespec/compiler": "~0.44.0",
46
+ "@typespec/http": "~0.44.0",
47
+ "@typespec/rest": "~0.44.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@types/mocha": "~10.0.0",
51
51
  "@types/node": "~18.11.9",
52
- "@typespec/compiler": ">=0.43.0",
53
- "@typespec/http": ">=0.43.0",
54
- "@typespec/rest": ">=0.43.0",
55
- "@typespec/eslint-config-typespec": ">=0.6.0",
56
- "@typespec/library-linter": ">=0.43.0",
57
- "@typespec/eslint-plugin": ">=0.43.0",
52
+ "@typespec/compiler": "~0.44.0",
53
+ "@typespec/http": "~0.44.0",
54
+ "@typespec/rest": "~0.44.0",
55
+ "@typespec/eslint-config-typespec": "~0.7.0",
56
+ "@typespec/library-linter": "~0.44.0",
57
+ "@typespec/eslint-plugin": "~0.44.0",
58
58
  "eslint": "^8.36.0",
59
59
  "mocha": "~10.2.0",
60
60
  "mocha-junit-reporter": "~2.2.0",
@@ -63,7 +63,6 @@
63
63
  "rimraf": "~5.0.0",
64
64
  "typescript": "~5.0.2"
65
65
  },
66
- "dependencies": {},
67
66
  "scripts": {
68
67
  "clean": "rimraf ./dist ./temp",
69
68
  "build": "tsc -p . && npm run lint-typespec-library",