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

@samchon/openapi

Package Overview
Dependencies
Maintainers
0
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@samchon/openapi - npm Package Compare versions

Comparing version 2.0.0-dev.20241124-2 to 2.0.0-dev.20241124-4

4

lib/converters/OpenApiV3_1Converter.js

@@ -55,3 +55,3 @@ "use strict";

var _a;
if (input["x-samchon-emend"] === true)
if (input["x-samchon-emended"] === true)
return input;

@@ -82,3 +82,3 @@ return __assign(__assign({}, input), { components: convertComponents((_a = input.components) !== null && _a !== void 0 ? _a : {}), paths: input.paths

}))
: undefined, "x-samchon-emend": true });
: undefined, "x-samchon-emended": true });
};

@@ -85,0 +85,0 @@ /* -----------------------------------------------------------

@@ -66,3 +66,3 @@ "use strict";

}))
: undefined, openapi: "3.1.0", "x-samchon-emend": true }));
: undefined, openapi: "3.1.0", "x-samchon-emended": true }));
};

@@ -69,0 +69,0 @@ /* -----------------------------------------------------------

@@ -78,3 +78,3 @@ "use strict";

tags: input.tags,
"x-samchon-emend": true,
"x-samchon-emended": true,
}); };

@@ -81,0 +81,0 @@ /* -----------------------------------------------------------

@@ -75,3 +75,3 @@ "use strict";

// MIGRATE
var migrate = props.document["x-samchon-emend"] === true
var migrate = props.document["x-samchon-emended"] === true
? HttpMigration_1.HttpMigration.application(props.document)

@@ -78,0 +78,0 @@ : props.document;

@@ -138,3 +138,3 @@ import { OpenApiV3 } from "./OpenApiV3";

*/
"x-samchon-emend": true;
"x-samchon-emended": true;
}

@@ -141,0 +141,0 @@ namespace IDocument {

import { IChatGptSchema } from "./IChatGptSchema";
import { IClaudeSchema } from "./IClaudeSchema";
import { IGeminiSchema } from "./IGeminiSchema";

@@ -15,6 +16,6 @@ import { ILlmSchemaV3 } from "./ILlmSchemaV3";

*/
export type ILlmSchema = IChatGptSchema | IGeminiSchema | ILlmSchemaV3 | ILlmSchemaV3_1;
export type ILlmSchema = IChatGptSchema | IClaudeSchema | IGeminiSchema | ILlmSchemaV3 | ILlmSchemaV3_1;
export declare namespace ILlmSchema {
type IParameters = IChatGptSchema.IParameters | IGeminiSchema.IParameters | ILlmSchemaV3.IParameters | ILlmSchemaV3_1.IParameters;
type IConfig = IChatGptSchema.IConfig | IGeminiSchema.IConfig | ILlmSchemaV3.IConfig | ILlmSchemaV3_1.IConfig;
type IParameters = IChatGptSchema.IParameters | IClaudeSchema.IParameters | IGeminiSchema.IParameters | ILlmSchemaV3.IParameters | ILlmSchemaV3_1.IParameters;
type IConfig = IChatGptSchema.IConfig | IClaudeSchema.IConfig | IGeminiSchema.IConfig | ILlmSchemaV3.IConfig | ILlmSchemaV3_1.IConfig;
}
{
"name": "@samchon/openapi",
"version": "2.0.0-dev.20241124-2",
"version": "2.0.0-dev.20241124-4",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -6,3 +6,3 @@ import { OpenApi } from "../OpenApi";

export const convert = (input: OpenApiV3_1.IDocument): OpenApi.IDocument => {
if ((input as OpenApi.IDocument)["x-samchon-emend"] === true)
if ((input as OpenApi.IDocument)["x-samchon-emended"] === true)
return input as OpenApi.IDocument;

@@ -32,3 +32,3 @@ return {

: undefined,
"x-samchon-emend": true,
"x-samchon-emended": true,
};

@@ -35,0 +35,0 @@ };

@@ -19,3 +19,3 @@ import { OpenApi } from "../OpenApi";

openapi: "3.1.0",
"x-samchon-emend": true,
"x-samchon-emended": true,
});

@@ -22,0 +22,0 @@

@@ -28,3 +28,3 @@ import { OpenApi } from "../OpenApi";

tags: input.tags,
"x-samchon-emend": true,
"x-samchon-emended": true,
});

@@ -31,0 +31,0 @@

@@ -91,3 +91,3 @@ import { HttpMigration } from "./HttpMigration";

const migrate: IHttpMigrateApplication =
(props.document as OpenApi.IDocument)["x-samchon-emend"] === true
(props.document as OpenApi.IDocument)["x-samchon-emended"] === true
? HttpMigration.application(props.document as OpenApi.IDocument)

@@ -94,0 +94,0 @@ : (props.document as IHttpMigrateApplication);

@@ -217,3 +217,3 @@ import { OpenApiV3 } from "./OpenApiV3";

*/
"x-samchon-emend": true;
"x-samchon-emended": true;
}

@@ -220,0 +220,0 @@ export namespace IDocument {

import { IChatGptSchema } from "./IChatGptSchema";
import { IClaudeSchema } from "./IClaudeSchema";
import { IGeminiSchema } from "./IGeminiSchema";

@@ -18,2 +19,3 @@ import { ILlmSchemaV3 } from "./ILlmSchemaV3";

| IChatGptSchema
| IClaudeSchema
| IGeminiSchema

@@ -26,2 +28,3 @@ | ILlmSchemaV3

| IChatGptSchema.IParameters
| IClaudeSchema.IParameters
| IGeminiSchema.IParameters

@@ -33,2 +36,3 @@ | ILlmSchemaV3.IParameters

| IChatGptSchema.IConfig
| IClaudeSchema.IConfig
| IGeminiSchema.IConfig

@@ -35,0 +39,0 @@ | ILlmSchemaV3.IConfig

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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