The OpenAPI specification for the Neynar APIs. Sign up for an API key on neynar.com.
We use Spectral to lint and validate our OpenAPI specifications. Spectral helps ensure that the OpenAPI files are compliant with the OpenAPI specification and follow best practices.
You can install Spectral globally using Yarn:
yarn global add @stoplight/spectral-cliTo validate an OpenAPI specification file using Spectral, run:
spectral lint src/api/spec.yamlspectral lint src/hub-api/spec.yamlSpectral will output any errors or warnings found in the specification files.