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
161
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.2.1 to 2.3.0-dev.20241218

lib/composers/migrate/HttpMigrateApplicationComposer.d.ts

6

lib/HttpMigration.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpMigration = void 0;
var MigrateConverter_1 = require("./composers/migrate/MigrateConverter");
var HttpMigrateApplicationComposer_1 = require("./composers/migrate/HttpMigrateApplicationComposer");
var HttpMigrateRouteFetcher_1 = require("./http/HttpMigrateRouteFetcher");

@@ -73,3 +73,5 @@ /**

*/
HttpMigration.application = function (document) { return MigrateConverter_1.MigrateConverter.convert(document); };
HttpMigration.application = function (document) {
return HttpMigrateApplicationComposer_1.HttpMigrateApplicationComposer.compose(document);
};
/* -----------------------------------------------------------

@@ -76,0 +78,0 @@ FETCHERS

@@ -357,2 +357,31 @@ import { OpenApiV3 } from "./OpenApiV3";

"x-samchon-human"?: boolean;
/**
* Accessor of the operation.
*
* If you configure this property, the assigned value would be used as
* {@link IHttpMigrateRoute.accessor}. Also, it also can be used as the
* {@link IHttpLlmFunction.name} by joininig with `.` character in the
* LLM function calling application.
*
* Note that, the `x-samchon-accessor` value must be unique in the entire
* OpenAPI document operations. If there're duplicated `x-samchon-accessor`
* values, {@link IHttpMigrateRoute.accessor} will ignore every duplicated
* `x-samchon-accessor` values and generate the
* {@link IHttpMigrateRoute.accessor} by itself.
*/
"x-samchon-accessor"?: string[];
/**
* Controller of the operation.
*
* If you configure this property, the assigned value would be utilized
* as the controller name in the OpenAPI generator library like
* [`@nestia/editor`](https://nestia.io/docs/editor/) and
* [`@nestia/migrate`](https://nestia.io/docs/migrate/).
*
* Also, if {@link x-samchon-accessor} has been configured, its last
* element would be used as the controller method (function) name.
* Of course, the OpenAPI document generator `@nestia/sdk` fills both of
* them.
*/
"x-samchon-controller"?: string;
}

@@ -359,0 +388,0 @@ namespace IOperation {

{
"name": "@samchon/openapi",
"version": "2.2.1",
"version": "2.3.0-dev.20241218",
"description": "OpenAPI definitions and converters for 'typia' and 'nestia'.",

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

@@ -0,0 +0,0 @@ # `@samchon/openapi`

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

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

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

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

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

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

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

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

@@ -0,0 +0,0 @@ import { IChatGptSchema } from "../structures/IChatGptSchema";

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

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

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

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

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

@@ -0,0 +0,0 @@ import type { HttpLlm } from "../HttpLlm";

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

import { OpenApi } from "./OpenApi";
import { MigrateConverter } from "./composers/migrate/MigrateConverter";
import { HttpMigrateApplicationComposer } from "./composers/migrate/HttpMigrateApplicationComposer";
import { HttpMigrateRouteFetcher } from "./http/HttpMigrateRouteFetcher";

@@ -77,3 +77,4 @@ import { IHttpConnection } from "./structures/IHttpConnection";

document: OpenApi.IDocument,
): IHttpMigrateApplication => MigrateConverter.convert(document);
): IHttpMigrateApplication =>
HttpMigrateApplicationComposer.compose(document);

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

@@ -0,0 +0,0 @@ //----

@@ -454,2 +454,33 @@ import { OpenApiV3 } from "./OpenApiV3";

"x-samchon-human"?: boolean;
/**
* Accessor of the operation.
*
* If you configure this property, the assigned value would be used as
* {@link IHttpMigrateRoute.accessor}. Also, it also can be used as the
* {@link IHttpLlmFunction.name} by joininig with `.` character in the
* LLM function calling application.
*
* Note that, the `x-samchon-accessor` value must be unique in the entire
* OpenAPI document operations. If there're duplicated `x-samchon-accessor`
* values, {@link IHttpMigrateRoute.accessor} will ignore every duplicated
* `x-samchon-accessor` values and generate the
* {@link IHttpMigrateRoute.accessor} by itself.
*/
"x-samchon-accessor"?: string[];
/**
* Controller of the operation.
*
* If you configure this property, the assigned value would be utilized
* as the controller name in the OpenAPI generator library like
* [`@nestia/editor`](https://nestia.io/docs/editor/) and
* [`@nestia/migrate`](https://nestia.io/docs/migrate/).
*
* Also, if {@link x-samchon-accessor} has been configured, its last
* element would be used as the controller method (function) name.
* Of course, the OpenAPI document generator `@nestia/sdk` fills both of
* them.
*/
"x-samchon-controller"?: string;
}

@@ -456,0 +487,0 @@ export namespace IOperation {

@@ -0,0 +0,0 @@ import { ILlmSchemaV3_1 } from "./ILlmSchemaV3_1";

@@ -0,0 +0,0 @@ /// <reference lib="dom" />

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

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

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

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

@@ -0,0 +0,0 @@ import { ILlmSchemaV3_1 } from "./ILlmSchemaV3_1";

@@ -0,0 +0,0 @@ import { IGeminiSchema } from "./IGeminiSchema";

@@ -0,0 +0,0 @@ import { ILlmSchema } from "./ILlmSchema";

@@ -0,0 +0,0 @@ import { IChatGptSchema } from "./IChatGptSchema";

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

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

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

@@ -0,0 +0,0 @@ export namespace AccessorUtil {

@@ -0,0 +0,0 @@ import { IChatGptSchema } from "../structures/IChatGptSchema";

@@ -0,0 +0,0 @@ import { NamingConvention } from "./NamingConvention";

@@ -0,0 +0,0 @@ import { IGeminiSchema } from "../structures/IGeminiSchema";

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

@@ -0,0 +0,0 @@ import { ILlmFunction } from "../structures/ILlmFunction";

@@ -0,0 +0,0 @@ import { ILlmSchemaV3_1 } from "../structures/ILlmSchemaV3_1";

@@ -0,0 +0,0 @@ import { ILlmSchemaV3 } from "../structures/ILlmSchemaV3";

@@ -0,0 +0,0 @@ export namespace NamingConvention {

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

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

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

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

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