@openapi-generator-plus/types
Advanced tools
Comparing version 2.11.0 to 2.12.0
@@ -226,3 +226,6 @@ import type { OpenAPI, OpenAPIV2, OpenAPIV3 } from 'openapi-types'; | ||
responses: CodegenResponses | null; | ||
/** The response that should be considered the main response of the operation. This is NOT the same as the 'default' response code in the OpenAPI spec. */ | ||
defaultResponse: CodegenResponse | null; | ||
/** The response for all unknown response codes. This IS the 'default' response code in the OpenAPI spec. */ | ||
catchAllResponse: CodegenResponse | null; | ||
deprecated: boolean; | ||
@@ -246,3 +249,4 @@ summary: string | null; | ||
export interface CodegenResponse { | ||
code: number; | ||
/** The response code, or the string "default" if this response represents the schema of all _other_ response codes. */ | ||
code: number | 'default'; | ||
description: string; | ||
@@ -253,3 +257,6 @@ /** The responses contents */ | ||
defaultContent: CodegenContent | null; | ||
/** Whether this response is considered the default response for the operation. This is NOT the same as having a code of 'default', which is instead the catch-all response. */ | ||
isDefault: boolean; | ||
/** Whether this response is the catch-all response for the operation. That is, the response for any _other_ code. This IS what a code of 'default' means. */ | ||
isCatchAll: boolean; | ||
vendorExtensions: CodegenVendorExtensions | null; | ||
@@ -256,0 +263,0 @@ headers: CodegenHeaders | null; |
{ | ||
"name": "@openapi-generator-plus/types", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -264,3 +264,6 @@ import type { OpenAPI, OpenAPIV2, OpenAPIV3 } from 'openapi-types' | ||
responses: CodegenResponses | null | ||
/** The response that should be considered the main response of the operation. This is NOT the same as the 'default' response code in the OpenAPI spec. */ | ||
defaultResponse: CodegenResponse | null | ||
/** The response for all unknown response codes. This IS the 'default' response code in the OpenAPI spec. */ | ||
catchAllResponse: CodegenResponse | null | ||
deprecated: boolean | ||
@@ -288,3 +291,4 @@ summary: string | null | ||
export interface CodegenResponse { | ||
code: number | ||
/** The response code, or the string "default" if this response represents the schema of all _other_ response codes. */ | ||
code: number | 'default' | ||
description: string | ||
@@ -298,3 +302,6 @@ | ||
/** Whether this response is considered the default response for the operation. This is NOT the same as having a code of 'default', which is instead the catch-all response. */ | ||
isDefault: boolean | ||
/** Whether this response is the catch-all response for the operation. That is, the response for any _other_ code. This IS what a code of 'default' means. */ | ||
isCatchAll: boolean | ||
vendorExtensions: CodegenVendorExtensions | null | ||
@@ -301,0 +308,0 @@ headers: CodegenHeaders | null |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119368
2599