@samchon/openapi
Advanced tools
Comparing version 0.1.2-dev.20240411-2 to 0.1.2-dev.20240411-3
@@ -72,5 +72,5 @@ import { OpenApiV3 } from "./OpenApiV3"; | ||
operationId?: string; | ||
parameters?: Array<IOperation.IParameter | IJsonSchema.IReference<`#/components/headers/${string}`> | IJsonSchema.IReference<`#/components/parameters/${string}`>>; | ||
parameters: Array<IOperation.IParameter>; | ||
requestBody?: IOperation.IRequestBody | IJsonSchema.IReference<`#/components/requestBodies/${string}`>; | ||
responses?: Record<string, IOperation.IResponse | IJsonSchema.IReference<`#/components/responses/${string}`>>; | ||
responses?: Record<string, IOperation.IResponse>; | ||
servers?: IServer[]; | ||
@@ -98,3 +98,3 @@ summary?: string; | ||
content?: Record<string, IMediaType>; | ||
headers?: Record<string, IOperation.IParameter | IJsonSchema.IReference<`#/components/headers/${string}`>>; | ||
headers?: Record<string, IOperation.IParameter>; | ||
description?: string; | ||
@@ -101,0 +101,0 @@ } |
{ | ||
"name": "@samchon/openapi", | ||
"version": "0.1.2-dev.20240411-2", | ||
"version": "0.1.2-dev.20240411-3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -105,15 +105,7 @@ import { OpenApiV3 } from "./OpenApiV3"; | ||
operationId?: string; | ||
parameters?: Array< | ||
| IOperation.IParameter | ||
| IJsonSchema.IReference<`#/components/headers/${string}`> | ||
| IJsonSchema.IReference<`#/components/parameters/${string}`> | ||
>; | ||
parameters: Array<IOperation.IParameter>; | ||
requestBody?: | ||
| IOperation.IRequestBody | ||
| IJsonSchema.IReference<`#/components/requestBodies/${string}`>; | ||
responses?: Record< | ||
string, | ||
| IOperation.IResponse | ||
| IJsonSchema.IReference<`#/components/responses/${string}`> | ||
>; | ||
responses?: Record<string, IOperation.IResponse>; | ||
servers?: IServer[]; | ||
@@ -141,7 +133,3 @@ summary?: string; | ||
content?: Record<string, IMediaType>; | ||
headers?: Record< | ||
string, | ||
| IOperation.IParameter | ||
| IJsonSchema.IReference<`#/components/headers/${string}`> | ||
>; | ||
headers?: Record<string, IOperation.IParameter>; | ||
description?: string; | ||
@@ -148,0 +136,0 @@ } |
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
155524
4062