Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
9 months ago

How I can create a Libre for errors in Stoplight

Originally posted by user Inocêncio Cordeiro to the Stoplight Community on 11/22/2023 at 04:20 ET.

Its possible create a libre for error, because every time I am design a new API a need import the errors. I don't want create the error everytime. We can have a repo, libre or other thing to save and use errors every time I need.

  • Skinghar (Staff) [11/28/2023 - 16:44 ET]

    Hello Inocencio, Are you looking for a linting function? If so, https://stoplight.io/open-source/spectral our spectral open source tool is something you can use to create linting for your API's. I hope this helps address your question. Cheers!

  • Stoplight's avatar
    Stoplight
    Community Manager

    Skinghar (Staff) [11/28/2023 - 16:44 ET]

    Hello Inocencio, Are you looking for a linting function? If so, https://stoplight.io/open-source/spectral our spectral open source tool is something you can use to create linting for your API's. I hope this helps address your question. Cheers!