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:
parent
12fa0b8231
commit
eccb128933
@ -5,7 +5,6 @@ import { constraintSchema } from './constraint-schema';
|
||||
export const createStrategySchema = {
|
||||
$id: '#/components/schemas/createStrategySchema',
|
||||
type: 'object',
|
||||
additionalProperties: false,
|
||||
required: ['name'],
|
||||
properties: {
|
||||
name: {
|
||||
|
@ -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',
|
||||
|
@ -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: {
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user