1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-05 17:53:12 +02:00

fix: avoid 400s for unknown request body fields (#1737)

This commit is contained in:
olav 2022-06-21 10:33:03 +02:00 committed by sighphyre
parent 12fa0b8231
commit eccb128933
4 changed files with 903 additions and 9 deletions

View File

@ -5,7 +5,6 @@ import { constraintSchema } from './constraint-schema';
export const createStrategySchema = {
$id: '#/components/schemas/createStrategySchema',
type: 'object',
additionalProperties: false,
required: ['name'],
properties: {
name: {

View File

@ -3,7 +3,6 @@ import { FromSchema } from 'json-schema-to-ts';
export const updateTagTypeSchema = {
$id: '#/components/schemas/updateTagTypeSchema',
type: 'object',
additionalProperties: false,
properties: {
description: {
type: 'string',

View File

@ -4,7 +4,6 @@ import { tagTypeSchema } from './tag-type-schema';
export const validateTagTypeSchema = {
$id: '#/components/schemas/validateTagTypeSchema',
type: 'object',
additionalProperties: false,
required: ['valid', 'tagType'],
properties: {
valid: {