@typespec/openapi3 1.0.0-rc.2-dev.1 → 1.0.0-rc.2-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/dist/src/util.d.ts +1 -1
- package/package.json +4 -4
package/dist/src/util.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export declare function isStdType(program: Program, type: Type): type is Scalar
|
|
|
35
35
|
name: IntrinsicScalarName;
|
|
36
36
|
};
|
|
37
37
|
export declare function isLiteralType(type: Type): type is StringLiteral | NumericLiteral | BooleanLiteral;
|
|
38
|
-
export declare function literalType(type: StringLiteral | NumericLiteral | BooleanLiteral): "
|
|
38
|
+
export declare function literalType(type: StringLiteral | NumericLiteral | BooleanLiteral): "number" | "string" | "boolean";
|
|
39
39
|
export declare function includeDerivedModel(model: Model): boolean;
|
|
40
40
|
export declare function isScalarExtendsBytes(type: Type): boolean;
|
|
41
41
|
export declare function getDefaultValue(program: Program, defaultType: Value, modelProperty: ModelProperty): any;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/openapi3",
|
|
3
|
-
"version": "1.0.0-rc.2-dev.
|
|
3
|
+
"version": "1.0.0-rc.2-dev.2",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding and converting OpenAPI3 to TypeSpec",
|
|
6
6
|
"homepage": "https://typespec.io",
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"@typespec/tspd": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
78
78
|
"@typespec/versioning": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
79
79
|
"@typespec/xml": "^0.69.0 || >=0.70.0-dev <0.70.0",
|
|
80
|
-
"@vitest/coverage-v8": "^3.
|
|
81
|
-
"@vitest/ui": "^3.
|
|
80
|
+
"@vitest/coverage-v8": "^3.1.2",
|
|
81
|
+
"@vitest/ui": "^3.1.2",
|
|
82
82
|
"c8": "^10.1.3",
|
|
83
83
|
"cross-env": "~7.0.3",
|
|
84
84
|
"rimraf": "~6.0.1",
|
|
85
85
|
"typescript": "~5.8.2",
|
|
86
|
-
"vitest": "^3.
|
|
86
|
+
"vitest": "^3.1.2"
|
|
87
87
|
},
|
|
88
88
|
"scripts": {
|
|
89
89
|
"clean": "rimraf ./dist ./temp",
|