*** title: Ignoring elements headline: Ignoring elements (OpenAPI) description: >- Use x-fern-ignore to exclude endpoints, schemas, properties, or parameters from your OpenAPI spec. Control what Fern reads and processes. -------------------------------------------------------------- If you want Fern to skip reading any endpoints, schemas, properties, or parameters, use the `x-fern-ignore` extension. ## Ignore an endpoint To skip an endpoint, add `x-fern-ignore: true` at the operation level. ```yaml title="x-fern-ignore at operation level in openapi.yml" {4} paths: /users: get: x-fern-ignore: true ... ``` ## Ignore a schema To skip a schema, add `x-fern-ignore: true` at the schema level. ```yaml title="x-fern-ignore at schema level in openapi.yml" {4} components: schemas: SchemaToSkip: x-fern-ignore: true ... ``` ## Ignore a property To skip a property within a schema, add `x-fern-ignore: true` at the property level. ```yaml title="x-fern-ignore at property level in openapi.yml" {9} components: schemas: User: type: object properties: name: type: string internalField: x-fern-ignore: true type: string ``` ## Ignore a parameter To skip a parameter, add `x-fern-ignore: true` at the parameter level. ```yaml title="x-fern-ignore at parameter level in openapi.yml" {7} paths: /users: get: parameters: - name: internalParam in: query x-fern-ignore: true schema: type: string ``` To skip a parameter without modifying your base spec, use `null` values in your [overrides file](/api-definitions/overview/overrides) to delete parameters: ```yaml title="overrides.yml" {5} paths: /users: get: parameters: - null # Deletes the first parameter from base spec ```