Ignoring schemas or endpoints

If you want Fern to skip reading any endpoints or schemas, 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 ...