Update elicitation demo
This commit is contained in:
parent
642f3ac192
commit
a2a83cc40e
1 changed files with 3 additions and 3 deletions
|
|
@ -690,10 +690,10 @@ export const createServer = () => {
|
||||||
properties: {
|
properties: {
|
||||||
color: { type: 'string', description: 'Favorite color' },
|
color: { type: 'string', description: 'Favorite color' },
|
||||||
number: { type: 'integer', description: 'Favorite number', minimum: 1, maximum: 100 },
|
number: { type: 'integer', description: 'Favorite number', minimum: 1, maximum: 100 },
|
||||||
things: {
|
pets: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
enum: ['cats', 'dogs', 'birds', 'brown paper packages tied up with string'],
|
enum: ['cats', 'dogs', 'birds', 'fish', 'reptiles'],
|
||||||
description: 'Favorite things'
|
description: 'Favorite pets'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue