/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/cli/create-strapi-app/templates/example/config/api.ts
16 строк
278 B
Giulio Montagner
fix(core): enforce required media and relations via api.documents.strictRelations (#27028)
21 июл 2026, 14:24
Не верифицирован
21 июл 2026, 14:24
de7b7c9
Код
Авторство
О чём код?
import type { Core } from '@strapi/strapi'; const config: Core.Config.Api = { rest: { defaultLimit: 25, maxLimit: 100, withCount: true, strictParams: true, }, documents: { strictParams: true, strictRelations: true, }, }; export default config;