fix: Avoid oneOf usage in Open API 2.0 spec (#8819)
Small fixes to make spec adhere to swagger 2.0
This commit is contained in:
@@ -2,19 +2,5 @@
|
||||
type: object
|
||||
properties:
|
||||
submitted_values:
|
||||
oneOf:
|
||||
- type: object
|
||||
description: Replies to the Bot Message Types
|
||||
properties:
|
||||
csat_survey_response:
|
||||
type: object
|
||||
description: CSAT Survey Response if original message is CSAT Survey
|
||||
properties:
|
||||
rating:
|
||||
type: integer
|
||||
description: CSAT Rating
|
||||
example: 5
|
||||
feedback_message:
|
||||
type: string
|
||||
description: CSAT Comment
|
||||
example: 'Great'
|
||||
type: object
|
||||
description: Replies to the Bot Message Types
|
||||
Reference in New Issue
Block a user