Skip to content

Commit 3a2f193

Browse files
committed
fix the multipart/form-data
1 parent ee8676a commit 3a2f193

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

neurosynth-compose-openapi.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.0.0
22
info:
33
title: Analysis Specification for Meta-analysis
4-
version: '1.0'
4+
version: '1.1'
55
description: api to create a meta-analysis specification
66
contact:
77
name: James D Kent
@@ -692,12 +692,12 @@ paths:
692692
$ref: '#/components/schemas/result-return'
693693
requestBody:
694694
content:
695-
application/json:
696-
schema:
697-
$ref: '#/components/schemas/result'
698695
multipart/form-data:
699696
schema:
700697
$ref: '#/components/schemas/result-upload'
698+
application/json:
699+
schema:
700+
$ref: '#/components/schemas/result'
701701
tags:
702702
- compose
703703
- meta_analyses
@@ -1806,6 +1806,10 @@ components:
18061806
x-stoplight:
18071807
id: dnswh7xk0mlu9
18081808
nullable: true
1809+
file:
1810+
type: string
1811+
format: binary
1812+
writeOnly: true
18091813
neurovault-collection-return:
18101814
title: neurovault-collection-return
18111815
allOf:

0 commit comments

Comments
 (0)