@fern-api/fern-api-dev 5.76.0 → 5.77.0
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/cli.cjs +27 -14
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -130089,7 +130089,8 @@ var init_OpenApiSettingsSchema2 = __esm({
|
|
|
130089
130089
|
"group-multi-api-environments": schemas_exports8.boolean().optional(),
|
|
130090
130090
|
"default-integer-format": DefaultIntegerFormat2.optional(),
|
|
130091
130091
|
"infer-discriminated-union-base-properties": schemas_exports8.boolean().optional(),
|
|
130092
|
-
"disambiguate-request-names": schemas_exports8.boolean().optional()
|
|
130092
|
+
"disambiguate-request-names": schemas_exports8.boolean().optional(),
|
|
130093
|
+
"ignore-tags": schemas_exports8.boolean().optional()
|
|
130093
130094
|
}).extend(BaseApiSettingsSchema);
|
|
130094
130095
|
}
|
|
130095
130096
|
});
|
|
@@ -151847,7 +151848,8 @@ var init_options2 = __esm({
|
|
|
151847
151848
|
coerceConstsTo: "enums-coerceable-to-literals",
|
|
151848
151849
|
respectByteFormat: false,
|
|
151849
151850
|
shouldInferDiscriminatedUnionBaseProperties: false,
|
|
151850
|
-
disambiguateRequestNames: true
|
|
151851
|
+
disambiguateRequestNames: true,
|
|
151852
|
+
ignoreTags: false
|
|
151851
151853
|
};
|
|
151852
151854
|
}
|
|
151853
151855
|
});
|
|
@@ -166011,7 +166013,7 @@ function convertHttpOperation({ operationContext, context: context3, responseSta
|
|
|
166011
166013
|
idempotent,
|
|
166012
166014
|
audiences: getExtension(operation, FernOpenAPIExtension.AUDIENCES) ?? [],
|
|
166013
166015
|
operationId: operation.operationId != null && suffix != null ? operation.operationId + "_" + suffix : operation.operationId,
|
|
166014
|
-
tags: context3.resolveTagsToTagIds(operation.tags),
|
|
166016
|
+
tags: context3.options.ignoreTags ? [] : context3.resolveTagsToTagIds(operation.tags),
|
|
166015
166017
|
namespace: context3.namespace,
|
|
166016
166018
|
sdkName: createOperationSdkMethodName({ operationContext, request: request7 }),
|
|
166017
166019
|
pathParameters: convertedParameters.pathParameters,
|
|
@@ -198996,7 +198998,8 @@ var init_getAPIDefinitionSettings = __esm({
|
|
|
198996
198998
|
inferForwardCompatible: "inferForwardCompatible",
|
|
198997
198999
|
coerceConstsTo: "coerceConstsTo",
|
|
198998
199000
|
shouldInferDiscriminatedUnionBaseProperties: "shouldInferDiscriminatedUnionBaseProperties",
|
|
198999
|
-
disambiguateRequestNames: "disambiguateRequestNames"
|
|
199001
|
+
disambiguateRequestNames: "disambiguateRequestNames",
|
|
199002
|
+
ignoreTags: "ignoreTags"
|
|
199000
199003
|
};
|
|
199001
199004
|
}
|
|
199002
199005
|
});
|
|
@@ -260648,7 +260651,8 @@ function parseOpenApiDefinitionSettingsSchema(settings) {
|
|
|
260648
260651
|
defaultIntegerFormat: settings?.["default-integer-format"],
|
|
260649
260652
|
pathParameterOrder: settings?.["path-parameter-order"],
|
|
260650
260653
|
shouldInferDiscriminatedUnionBaseProperties: settings?.["infer-discriminated-union-base-properties"],
|
|
260651
|
-
disambiguateRequestNames: settings?.["disambiguate-request-names"]
|
|
260654
|
+
disambiguateRequestNames: settings?.["disambiguate-request-names"],
|
|
260655
|
+
ignoreTags: settings?.["ignore-tags"]
|
|
260652
260656
|
};
|
|
260653
260657
|
}
|
|
260654
260658
|
function parseAsyncApiDefinitionSettingsSchema(settings) {
|
|
@@ -261512,7 +261516,8 @@ var init_convertGeneratorsConfiguration = __esm({
|
|
|
261512
261516
|
inferForwardCompatible: void 0,
|
|
261513
261517
|
coerceConstsTo: void 0,
|
|
261514
261518
|
shouldInferDiscriminatedUnionBaseProperties: void 0,
|
|
261515
|
-
disambiguateRequestNames: void 0
|
|
261519
|
+
disambiguateRequestNames: void 0,
|
|
261520
|
+
ignoreTags: void 0
|
|
261516
261521
|
};
|
|
261517
261522
|
}
|
|
261518
261523
|
});
|
|
@@ -682794,7 +682799,14 @@ var OpenApiSettingsSchema2 = BaseApiSettingsSchema2.extend({
|
|
|
682794
682799
|
* If false, keep the original "Request" suffix regardless of collisions.
|
|
682795
682800
|
* Defaults to true.
|
|
682796
682801
|
*/
|
|
682797
|
-
"disambiguate-request-names": external_exports.boolean().optional()
|
|
682802
|
+
"disambiguate-request-names": external_exports.boolean().optional(),
|
|
682803
|
+
/**
|
|
682804
|
+
* If true, ignore operation-level tags when determining the SDK structure.
|
|
682805
|
+
* Endpoints fall back to the root package (or their namespace) and method
|
|
682806
|
+
* names are derived from each operation's operationId.
|
|
682807
|
+
* Defaults to false.
|
|
682808
|
+
*/
|
|
682809
|
+
"ignore-tags": external_exports.boolean().optional()
|
|
682798
682810
|
});
|
|
682799
682811
|
|
|
682800
682812
|
// ../config/lib/schemas/specs/OpenApiSpecSchema.js
|
|
@@ -691383,7 +691395,7 @@ var AccessTokenPosthogManager = class {
|
|
|
691383
691395
|
properties: {
|
|
691384
691396
|
...event,
|
|
691385
691397
|
...event.properties,
|
|
691386
|
-
version: "5.
|
|
691398
|
+
version: "5.77.0",
|
|
691387
691399
|
usingAccessToken: true,
|
|
691388
691400
|
...getRunIdProperties()
|
|
691389
691401
|
}
|
|
@@ -691449,7 +691461,7 @@ var UserPosthogManager = class {
|
|
|
691449
691461
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
691450
691462
|
event: "CLI",
|
|
691451
691463
|
properties: {
|
|
691452
|
-
version: "5.
|
|
691464
|
+
version: "5.77.0",
|
|
691453
691465
|
...event,
|
|
691454
691466
|
...event.properties,
|
|
691455
691467
|
usingAccessToken: false,
|
|
@@ -698262,7 +698274,8 @@ var LegacyApiSpecAdapter = class {
|
|
|
698262
698274
|
defaultIntegerFormat: this.adaptDefaultIntegerFormat(settings.defaultIntegerFormat),
|
|
698263
698275
|
coerceConstsTo: settings.coerceConstsTo,
|
|
698264
698276
|
shouldInferDiscriminatedUnionBaseProperties: settings.inferDiscriminatedUnionBaseProperties,
|
|
698265
|
-
disambiguateRequestNames: settings["disambiguate-request-names"]
|
|
698277
|
+
disambiguateRequestNames: settings["disambiguate-request-names"],
|
|
698278
|
+
ignoreTags: settings["ignore-tags"]
|
|
698266
698279
|
};
|
|
698267
698280
|
const hasSettings = Object.values(result).some((v3) => v3 != null);
|
|
698268
698281
|
return hasSettings ? result : void 0;
|
|
@@ -872554,7 +872567,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
872554
872567
|
var LOGS_FOLDER_NAME = "logs";
|
|
872555
872568
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
872556
872569
|
function getCliSource() {
|
|
872557
|
-
const version7 = "5.
|
|
872570
|
+
const version7 = "5.77.0";
|
|
872558
872571
|
return `cli@${version7}`;
|
|
872559
872572
|
}
|
|
872560
872573
|
var DebugLogger = class {
|
|
@@ -905207,7 +905220,7 @@ var LegacyDocsPublisher = class {
|
|
|
905207
905220
|
previewId,
|
|
905208
905221
|
disableTemplates: void 0,
|
|
905209
905222
|
skipUpload,
|
|
905210
|
-
cliVersion: "5.
|
|
905223
|
+
cliVersion: "5.77.0",
|
|
905211
905224
|
loginCommand: "fern auth login"
|
|
905212
905225
|
});
|
|
905213
905226
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -972120,7 +972133,7 @@ function getAutomationContextFromEnv() {
|
|
|
972120
972133
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
972121
972134
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
972122
972135
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
972123
|
-
cli_version: "5.
|
|
972136
|
+
cli_version: "5.77.0"
|
|
972124
972137
|
};
|
|
972125
972138
|
}
|
|
972126
972139
|
function isAutomationMode() {
|
|
@@ -972952,7 +972965,7 @@ var CliContext = class _CliContext {
|
|
|
972952
972965
|
if (false) {
|
|
972953
972966
|
this.logger.error("CLI_VERSION is not defined");
|
|
972954
972967
|
}
|
|
972955
|
-
return "5.
|
|
972968
|
+
return "5.77.0";
|
|
972956
972969
|
}
|
|
972957
972970
|
getCliName() {
|
|
972958
972971
|
if (false) {
|
package/package.json
CHANGED