-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Description
Describe the bug
We need to specify the content type of response if the Response is a reference. This bug only happens during v2 serialization
Expected behavior
'/Tasks({Id})/Default.Upload':
post:
tags:
- Tasks.Actions
summary: Invoke action Upload
operationId: Tasks.DocumentDto.Upload
+ produces:
+ - application/json
parameters:
- in: path
name: Id
description: 'key: Id of DocumentDto'
required: true
type: integer
format: int32
maximum: 2147483647
minimum: -2147483648
x-ms-docs-key-type: DocumentDto
responses:
'200':
$ref: '#/responses/UploadResponse'
default:
$ref: '#/responses/error'
x-ms-docs-operation-type: action
x-description: Provides operations to call the Upload method.
Metadata
Metadata
Assignees
Labels
type:bugA broken experienceA broken experience