Ignoring elements

If you want Fern to skip reading any endpoints, schemas, or properties, use the x-fern-ignore extension.

To skip an endpoint, add x-fern-ignore: true at the operation level.

x-fern-ignore at operation level in openapi.yml
1paths:
2 /users:
3 get:
4 x-fern-ignore: true
5 ...

To skip a schema, add x-fern-ignore: true at the schema level.

x-fern-ignore at schema level in openapi.yml
1components:
2 schemas:
3 SchemaToSkip:
4 x-fern-ignore: true
5 ...

To skip a property within a schema, add x-fern-ignore: true at the property level.

x-fern-ignore at property level in openapi.yml
1components:
2 schemas:
3 User:
4 type: object
5 properties:
6 name:
7 type: string
8 internalField:
9 x-fern-ignore: true
10 type: string