Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove required attributes #69

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions neurostore-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,16 @@ paths:
schema:
$ref: '#/components/schemas/studyset-return'
examples: {}
application/gzip:
schema:
type: object
properties: {}
'404':
$ref: '#/components/responses/404'
description: Retrieve the information of a studyset with the matching studyset ID.
parameters:
- $ref: '#/components/parameters/nested'
- $ref: '#/components/parameters/gzip'
put:
summary: PUT/update a studyset
responses:
Expand Down Expand Up @@ -1513,9 +1518,6 @@ components:
resource-attributes:
allOf:
- $ref: '#/components/schemas/readable-resource-attributes'
required:
- created_at
- updated_at
- $ref: '#/components/schemas/writeable-resource-attributes'
requred:
- id
Expand Down Expand Up @@ -1570,7 +1572,7 @@ components:
readOnly: true
updated_at:
type: string
description: when was the resource last modified/updated.
description: when the resource was last modified/updated.
nullable: true
readOnly: true
writeable-resource-attributes:
Expand Down Expand Up @@ -2007,6 +2009,13 @@ components:
schema:
type: boolean
description: show additional for endpoint-object relationships without being fully nested. Incompatible with nested
gzip:
name: gzip
in: query
required: false
schema:
type: boolean
description: return the content as gzipped content
securitySchemes:
JSON-Web-Token:
type: http
Expand Down
Loading