> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/miscellaneous/llms.txt)
> Source: https://docs.saleor.io/api-reference/miscellaneous/directives/one-of

# oneOf Directive

Indicates exactly one field must be supplied and this field must not be `null`.

```graphql
directive @oneOf on INPUT_OBJECT
```
