Stoplight
10 months agoCommunity Manager
Function is not defined when trying to use Spectral
Originally posted by user zfa to the Stoplight Community on 08/01/2023 at 11:45 ET.
When I try to run Spectral to lint a YAML file, I'm getting this error. However, what's shown on the screen is tr...
- 10 months ago
Jakub_R (Staff) [08/04/2023 - 07:40 ET]
this most likely means that your rule references a function that does not exist. If you use a core function, make sure the name is correct. If you use a custom function, make sure to include it in the functions array.