Skip to content

fix(cli): Use x-fern-type-name value to override request type name #7359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mattblank11
Copy link
Contributor

Description

Use the x-fern-type-name value as the generatedRequestName if it exists

Testing

Updated seed tests and tested this locally with Auth0's SDK:

paths:
  /actions/actions:
    get:
      x-fern-sdk-group-name:
        - actions
      x-fern-sdk-method-name: list
      x-fern-type-name: MakingThisUp
/**
 * This file was auto-generated by Fern from our API Definition.
 */

import * as Auth0 from "../../../../index";

/**
 * @example
 *     {}
 */
export interface MakingThisUp {
    /**
     * An actions extensibility point.
     */
    triggerId?: Auth0.ActionTriggerTypeEnum;
    /**
     * The name of the action to retrieve.
     */
    actionName?: string;
    /**
     * Optional filter to only retrieve actions that are deployed.
     */
    deployed?: boolean;
    /**
     * Use this field to request a specific page of the list results.
     */
    page?: number;
    /**
     * The maximum number of results to be returned by the server in single response. 20 by default
     */
    per_page?: number;
    /**
     * Optional. When true, return only installed actions. When false, return only custom actions. Returns all actions by default.
     */
    installed?: boolean;
}

@mattblank11 mattblank11 requested a review from dsinghvi as a code owner May 29, 2025 20:27
@mattblank11 mattblank11 changed the title Use x-fern-type-name value to override request type name fix(cli): Use x-fern-type-name value to override request type name May 29, 2025
Copy link

Copy link

This PR is stale because it has been open 25 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale This PR hasn't has any commits or comments in 25 days or more. label Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale This PR hasn't has any commits or comments in 25 days or more.
Development

Successfully merging this pull request may close these issues.

2 participants