@typespec/openapi 1.3.0 → 1.4.0-dev.1
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
CHANGED
|
@@ -104,7 +104,7 @@ op listPets(): Pet[];
|
|
|
104
104
|
#### `@info`
|
|
105
105
|
|
|
106
106
|
Specify OpenAPI additional information.
|
|
107
|
-
The service `title`
|
|
107
|
+
The service `title` is already specified using `@service`.
|
|
108
108
|
|
|
109
109
|
```typespec
|
|
110
110
|
@TypeSpec.OpenAPI.info(additionalInfo: valueof TypeSpec.OpenAPI.AdditionalInfo)
|
|
@@ -80,7 +80,7 @@ export type DefaultResponseDecorator = (context: DecoratorContext, target: Model
|
|
|
80
80
|
export type ExternalDocsDecorator = (context: DecoratorContext, target: Type, url: string, description?: string) => void;
|
|
81
81
|
/**
|
|
82
82
|
* Specify OpenAPI additional information.
|
|
83
|
-
* The service `title`
|
|
83
|
+
* The service `title` is already specified using `@service`.
|
|
84
84
|
*
|
|
85
85
|
* @param additionalInfo Additional information
|
|
86
86
|
*/
|
package/lib/decorators.tsp
CHANGED
|
@@ -111,7 +111,7 @@ model License {
|
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
113
|
* Specify OpenAPI additional information.
|
|
114
|
-
* The service `title`
|
|
114
|
+
* The service `title` is already specified using `@service`.
|
|
115
115
|
* @param additionalInfo Additional information
|
|
116
116
|
*/
|
|
117
117
|
extern dec info(target: Namespace, additionalInfo: valueof AdditionalInfo);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/openapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0-dev.1",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library providing OpenAPI concepts",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -44,18 +44,19 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "~24.1.0",
|
|
47
|
+
"@typespec/compiler": "^1.3.0",
|
|
48
|
+
"@typespec/http": "^1.3.0",
|
|
49
|
+
"@typespec/library-linter": "^0.73.0 || >=0.74.0-dev <0.74.0",
|
|
50
|
+
"@typespec/rest": "^0.73.0 || >=0.74.0-dev <0.74.0",
|
|
51
|
+
"@typespec/tspd": "^0.72.2 || >=0.73.0-dev <0.73.0",
|
|
47
52
|
"@vitest/coverage-v8": "^3.1.2",
|
|
48
53
|
"@vitest/ui": "^3.1.2",
|
|
49
54
|
"c8": "^10.1.3",
|
|
50
55
|
"rimraf": "~6.0.1",
|
|
51
56
|
"typescript": "~5.8.2",
|
|
52
|
-
"vitest": "^3.1.2"
|
|
53
|
-
"@typespec/compiler": "^1.3.0",
|
|
54
|
-
"@typespec/library-linter": "^0.73.0",
|
|
55
|
-
"@typespec/http": "^1.3.0",
|
|
56
|
-
"@typespec/rest": "^0.73.0",
|
|
57
|
-
"@typespec/tspd": "^0.72.2"
|
|
57
|
+
"vitest": "^3.1.2"
|
|
58
58
|
},
|
|
59
|
+
"dependencies": {},
|
|
59
60
|
"scripts": {
|
|
60
61
|
"clean": "rimraf ./dist ./temp",
|
|
61
62
|
"build": "pnpm gen-extern-signature && tsc -p . && pnpm lint-typespec-library && pnpm api-extractor",
|