Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@openapi-generator-plus/types

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openapi-generator-plus/types - npm Package Compare versions

Comparing version 2.11.0 to 2.12.0

9

dist/types.d.ts

@@ -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;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc