@typespec/openapi3
Advanced tools
Comparing version 0.46.0-dev.2 to 0.46.0-dev.3
@@ -103,3 +103,3 @@ import { JSONSchemaType } from "@typespec/compiler"; | ||
readonly empty: "Empty unions are not supported for OpenAPI v3 - enums must have at least one value."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v2 unless the union is between one model type and 'null'."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v3 unless the union is between one model type and 'null'."; | ||
}; | ||
@@ -153,3 +153,3 @@ }; | ||
readonly empty: "Empty unions are not supported for OpenAPI v3 - enums must have at least one value."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v2 unless the union is between one model type and 'null'."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v3 unless the union is between one model type and 'null'."; | ||
}; | ||
@@ -192,3 +192,3 @@ "invalid-default": { | ||
readonly empty: "Empty unions are not supported for OpenAPI v3 - enums must have at least one value."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v2 unless the union is between one model type and 'null'."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v3 unless the union is between one model type and 'null'."; | ||
}; | ||
@@ -230,3 +230,3 @@ "invalid-default": { | ||
readonly empty: "Empty unions are not supported for OpenAPI v3 - enums must have at least one value."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v2 unless the union is between one model type and 'null'."; | ||
readonly null: "Unions containing multiple model types cannot be emitted to OpenAPI v3 unless the union is between one model type and 'null'."; | ||
}; | ||
@@ -233,0 +233,0 @@ "invalid-default": { |
@@ -113,3 +113,3 @@ import { createTypeSpecLibrary, paramMessage } from "@typespec/compiler"; | ||
empty: "Empty unions are not supported for OpenAPI v3 - enums must have at least one value.", | ||
null: "Unions containing multiple model types cannot be emitted to OpenAPI v2 unless the union is between one model type and 'null'.", | ||
null: "Unions containing multiple model types cannot be emitted to OpenAPI v3 unless the union is between one model type and 'null'.", | ||
}, | ||
@@ -116,0 +116,0 @@ }, |
{ | ||
"name": "@typespec/openapi3", | ||
"version": "0.46.0-dev.2", | ||
"version": "0.46.0-dev.3", | ||
"author": "Microsoft Corporation", | ||
@@ -5,0 +5,0 @@ "description": "TypeSpec library for emitting OpenAPI 3.0 from the TypeSpec REST protocol binding", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
187142