Skip to content

Commit

Permalink
Merge pull request #64 from neurostuff/enh/bulk_upload
Browse files Browse the repository at this point in the history
[ENH] bulk upload process
  • Loading branch information
jdkent authored Sep 8, 2023
2 parents f31b6c5 + f3c3c85 commit 198069f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .spectral.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import ruleset from "https://stoplight.io/api/v1/projects/cHJqOjU0NTA4/spectral.js?branch_slug=main&token=623e7421-01bd-4f90-b9fe-61e27a0e73b0";
export default { extends: ruleset };
45 changes: 35 additions & 10 deletions neurostore-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -839,15 +839,25 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/base-study-return'
oneOf:
- $ref: '#/components/schemas/base-study-return'
- type: array
items:
$ref: '#/components/schemas/base-study-return'
security:
- JSON-Web-Token: []
- {}
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/base-study'
oneOf:
- $ref: '#/components/schemas/base-study'
- type: array
x-stoplight:
id: ufcpin3lhrdgq
items:
$ref: '#/components/schemas/base-study'
'/base-studies/{id}':
parameters:
- schema:
Expand Down Expand Up @@ -961,14 +971,29 @@ components:
studysets:
type: array
items:
type: object
properties:
name:
type: string
id:
type: string
description:
type: string
oneOf:
- type: object
properties:
name:
type: string
nullable: true
id:
type: string
description:
type: string
nullable: true
- type: string
x-stoplight:
id: 4ny274ofy8y83
nullable: true
has_coordinates:
type: boolean
x-stoplight:
id: z0t5y3n3t9w6p
has_images:
type: boolean
x-stoplight:
id: 5awd3fw7bz8sw
x-tags:
- study
study-request:
Expand Down

0 comments on commit 198069f

Please sign in to comment.