@fern-api/fern-api-dev 5.113.1 → 5.113.2
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 +24 -9
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -353179,6 +353179,7 @@ var init_AbstractParameterConverter = __esm({
|
|
|
353179
353179
|
schema: resolvedParameterSchema
|
|
353180
353180
|
});
|
|
353181
353181
|
const parameterDefaultValue = resolvedParameterSchema?.default;
|
|
353182
|
+
const docs2 = this.getParameterDescription({ schema });
|
|
353182
353183
|
switch (this.parameter.in) {
|
|
353183
353184
|
case "query":
|
|
353184
353185
|
return {
|
|
@@ -353188,7 +353189,7 @@ var init_AbstractParameterConverter = __esm({
|
|
|
353188
353189
|
name: this.parameter.name,
|
|
353189
353190
|
wireValue: this.parameter.name
|
|
353190
353191
|
}),
|
|
353191
|
-
docs:
|
|
353192
|
+
docs: docs2,
|
|
353192
353193
|
valueType: typeReference2 ?? AbstractConverter.OPTIONAL_STRING,
|
|
353193
353194
|
allowMultiple: this.parameter.explode ?? false,
|
|
353194
353195
|
clientDefault: void 0,
|
|
@@ -353209,7 +353210,7 @@ var init_AbstractParameterConverter = __esm({
|
|
|
353209
353210
|
name: this.parameter.name,
|
|
353210
353211
|
wireValue: this.parameter.name
|
|
353211
353212
|
}),
|
|
353212
|
-
docs:
|
|
353213
|
+
docs: docs2,
|
|
353213
353214
|
valueType: typeReference2 ?? AbstractConverter.OPTIONAL_STRING,
|
|
353214
353215
|
env: void 0,
|
|
353215
353216
|
clientDefault: void 0,
|
|
@@ -353226,7 +353227,7 @@ var init_AbstractParameterConverter = __esm({
|
|
|
353226
353227
|
type: "path",
|
|
353227
353228
|
parameter: {
|
|
353228
353229
|
name: this.context.casingsGenerator.generateName(this.parameter.name),
|
|
353229
|
-
docs:
|
|
353230
|
+
docs: docs2,
|
|
353230
353231
|
valueType: typeReference2 ?? AbstractConverter.STRING,
|
|
353231
353232
|
location: "ENDPOINT",
|
|
353232
353233
|
variable: void 0,
|
|
@@ -353242,6 +353243,20 @@ var init_AbstractParameterConverter = __esm({
|
|
|
353242
353243
|
return void 0;
|
|
353243
353244
|
}
|
|
353244
353245
|
}
|
|
353246
|
+
/**
|
|
353247
|
+
* A parameter's description may be declared either on the parameter object or inside the
|
|
353248
|
+
* parameter's schema; both are valid OpenAPI. For a `$ref` schema, only a sibling description on
|
|
353249
|
+
* the reference itself counts; the referenced type's own description belongs to that type.
|
|
353250
|
+
*/
|
|
353251
|
+
getParameterDescription({ schema }) {
|
|
353252
|
+
if (this.parameter.description != null) {
|
|
353253
|
+
return this.parameter.description;
|
|
353254
|
+
}
|
|
353255
|
+
if ("description" in schema && typeof schema.description === "string") {
|
|
353256
|
+
return schema.description;
|
|
353257
|
+
}
|
|
353258
|
+
return void 0;
|
|
353259
|
+
}
|
|
353245
353260
|
getParameterSchemaWithExampleOverride({ schema }) {
|
|
353246
353261
|
if (schema == null) {
|
|
353247
353262
|
return void 0;
|
|
@@ -705533,7 +705548,7 @@ var AccessTokenPosthogManager = class {
|
|
|
705533
705548
|
properties: {
|
|
705534
705549
|
...event,
|
|
705535
705550
|
...event.properties,
|
|
705536
|
-
version: "5.113.
|
|
705551
|
+
version: "5.113.2",
|
|
705537
705552
|
usingAccessToken: true,
|
|
705538
705553
|
...getRunIdProperties()
|
|
705539
705554
|
}
|
|
@@ -705599,7 +705614,7 @@ var UserPosthogManager = class {
|
|
|
705599
705614
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
705600
705615
|
event: "CLI",
|
|
705601
705616
|
properties: {
|
|
705602
|
-
version: "5.113.
|
|
705617
|
+
version: "5.113.2",
|
|
705603
705618
|
...event,
|
|
705604
705619
|
...event.properties,
|
|
705605
705620
|
usingAccessToken: false,
|
|
@@ -887275,7 +887290,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
|
887275
887290
|
var LOGS_FOLDER_NAME = "logs";
|
|
887276
887291
|
var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
|
|
887277
887292
|
function getCliSource() {
|
|
887278
|
-
const version7 = "5.113.
|
|
887293
|
+
const version7 = "5.113.2";
|
|
887279
887294
|
return `cli@${version7}`;
|
|
887280
887295
|
}
|
|
887281
887296
|
var DebugLogger = class {
|
|
@@ -914588,7 +914603,7 @@ var LegacyDocsPublisher = class {
|
|
|
914588
914603
|
previewId,
|
|
914589
914604
|
disableTemplates: void 0,
|
|
914590
914605
|
skipUpload,
|
|
914591
|
-
cliVersion: "5.113.
|
|
914606
|
+
cliVersion: "5.113.2",
|
|
914592
914607
|
loginCommand: "fern auth login"
|
|
914593
914608
|
});
|
|
914594
914609
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
@@ -981844,7 +981859,7 @@ function getAutomationContextFromEnv() {
|
|
|
981844
981859
|
config_branch: process.env.FERN_CONFIG_BRANCH,
|
|
981845
981860
|
config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
|
|
981846
981861
|
trigger: process.env.GITHUB_EVENT_NAME,
|
|
981847
|
-
cli_version: "5.113.
|
|
981862
|
+
cli_version: "5.113.2"
|
|
981848
981863
|
};
|
|
981849
981864
|
}
|
|
981850
981865
|
function isAutomationMode() {
|
|
@@ -982676,7 +982691,7 @@ var CliContext = class _CliContext {
|
|
|
982676
982691
|
if (false) {
|
|
982677
982692
|
this.logger.error("CLI_VERSION is not defined");
|
|
982678
982693
|
}
|
|
982679
|
-
return "5.113.
|
|
982694
|
+
return "5.113.2";
|
|
982680
982695
|
}
|
|
982681
982696
|
getCliName() {
|
|
982682
982697
|
if (false) {
|
package/package.json
CHANGED