SR001

Severity: error

Summary: resource name must not be empty

What this means

The resource: key is present but its value is an empty string. Every resource file must declare a non-empty snake_case plural name that becomes the database table name and the route prefix.

Example that triggers this

resource: ""
version: 1
schema:
  id: { type: uuid, primary: true, generated: true }

How to fix it

Add a snake_case plural name to the resource key. For example: resource: users.


Back to top

Shaperail documentation lives in the same repository as the framework so every release has versioned instructions. See the latest release for the most recent version.

This site uses Just the Docs, a documentation theme for Jekyll.