schemaForbiddenMessage function

String schemaForbiddenMessage()

Implementation

String schemaForbiddenMessage() => '''
Supabase no longer exposes the OpenAPI schema (/rest/v1/) to anon or
publishable keys on hosted projects (since April 8, 2026).
Use a secret key (sb_secret_...) or the legacy service_role key, and keep it
out of your app and out of git, e.g. in a gitignored .env.
See: $openApiChangelogUrl''';