@hey-api/openapi-python 0.0.0-next-20260625120857 → 0.0.0-next-20260627003139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { S as PyDsl, _ as reserved, a as coerce, b as PyDslContext, c as defineConfigTable, d as utils, f as createClient, g as KwargPyDsl, h as PythonRenderer, i as applyNaming, l as definePluginConfig, m as $, n as OperationPath, o as defaultPaginationKeywords, p as defaultPlugins, r as OperationStrategy, s as defineConfig, t as Logger, u as toCase, v as keywords, x as ctx, y as regexp } from "./src-
|
|
1
|
+
import { S as PyDsl, _ as reserved, a as coerce, b as PyDslContext, c as defineConfigTable, d as utils, f as createClient, g as KwargPyDsl, h as PythonRenderer, i as applyNaming, l as definePluginConfig, m as $, n as OperationPath, o as defaultPaginationKeywords, p as defaultPlugins, r as OperationStrategy, s as defineConfig, t as Logger, u as toCase, v as keywords, x as ctx, y as regexp } from "./src-DmLjpfgH.mjs";
|
|
2
2
|
import { t as plugins_exports } from "./plugins.mjs";
|
|
3
3
|
export { $, KwargPyDsl, Logger, OperationPath, OperationStrategy, PyDsl, PyDslContext, PythonRenderer, applyNaming, coerce, createClient, ctx, defaultPaginationKeywords, defaultPlugins, defineConfig, defineConfigTable, definePluginConfig, keywords, plugins_exports as plugins, regexp, reserved, toCase, utils };
|
package/dist/run.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { f as createClient } from "./src-
|
|
2
|
+
import { f as createClient } from "./src-DmLjpfgH.mjs";
|
|
3
3
|
import { runCli } from "@hey-api/codegen-cli";
|
|
4
4
|
//#region package.json
|
|
5
|
-
var version = "0.0.0-next-
|
|
5
|
+
var version = "0.0.0-next-20260627003139";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/run.ts
|
|
8
8
|
const binName = Object.keys({ "openapi-python": "./bin/run.js" })[0];
|
|
@@ -6570,6 +6570,11 @@ async function generateOutput(context) {
|
|
|
6570
6570
|
});
|
|
6571
6571
|
for (const plugin of context.registerPlugins()) await plugin.run();
|
|
6572
6572
|
context.gen.plan();
|
|
6573
|
+
if (process.env.HEY_API_DUMP_REGISTRY) {
|
|
6574
|
+
const dumpPath = path.resolve(outputPath, "registry-dump.json");
|
|
6575
|
+
await fsPromises.mkdir(outputPath, { recursive: true });
|
|
6576
|
+
await fsPromises.writeFile(dumpPath, JSON.stringify(context.gen.symbols.dump(), null, 2), { encoding: "utf8" });
|
|
6577
|
+
}
|
|
6573
6578
|
const ctx = new IntentContext(context.spec);
|
|
6574
6579
|
for (const intent of context.intents) await intent.run(ctx);
|
|
6575
6580
|
let fileCount = 0;
|
|
@@ -6806,4 +6811,4 @@ async function defineConfig$1(config) {
|
|
|
6806
6811
|
//#endregion
|
|
6807
6812
|
export { PyDsl as S, reserved as _, coerce$1 as a, PyDslContext as b, defineConfigTable as c, utils as d, createClient as f, KwargPyDsl as g, PythonRenderer as h, applyNaming$1 as i, definePluginConfig$1 as l, $$1 as m, OperationPath$1 as n, defaultPaginationKeywords as o, defaultPlugins as p, OperationStrategy$1 as r, defineConfig$1 as s, Logger$1 as t, toCase$1 as u, keywords as v, ctx as x, regexp as y };
|
|
6808
6813
|
|
|
6809
|
-
//# sourceMappingURL=src-
|
|
6814
|
+
//# sourceMappingURL=src-DmLjpfgH.mjs.map
|