Merge pull request #1364 from aaronlehmann/content-type-in-api-docs
Add information about manifest content types to API spec
This commit is contained in:
commit
4c945fc951
1 changed files with 2 additions and 2 deletions
|
@ -514,7 +514,7 @@ var routeDescriptors = []RouteDescriptor{
|
||||||
digestHeader,
|
digestHeader,
|
||||||
},
|
},
|
||||||
Body: BodyDescriptor{
|
Body: BodyDescriptor{
|
||||||
ContentType: "application/json; charset=utf-8",
|
ContentType: "<media type of manifest>",
|
||||||
Format: manifestBody,
|
Format: manifestBody,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -553,7 +553,7 @@ var routeDescriptors = []RouteDescriptor{
|
||||||
referenceParameterDescriptor,
|
referenceParameterDescriptor,
|
||||||
},
|
},
|
||||||
Body: BodyDescriptor{
|
Body: BodyDescriptor{
|
||||||
ContentType: "application/json; charset=utf-8",
|
ContentType: "<media type of manifest>",
|
||||||
Format: manifestBody,
|
Format: manifestBody,
|
||||||
},
|
},
|
||||||
Successes: []ResponseDescriptor{
|
Successes: []ResponseDescriptor{
|
||||||
|
|
Loading…
Reference in a new issue