Skip to content

Commit ae0f5df

Browse files
committed
Add json endpoint
1 parent 5f6fe91 commit ae0f5df

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/main/resources/openapi.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.0.3
1+
openapi: 3.1.2
22
info:
33
title: Export MassBank content in different formats
44
description: This microservice converts MassBank records into a number of different other formats.
@@ -50,6 +50,13 @@ paths:
5050
massbank:
5151
summary: MassBank zip file
5252
description: zip file with seperate MassBank files
53+
application/jsonl:
54+
schema:
55+
type: string
56+
examples:
57+
json:
58+
summary: JSON
59+
description: JSON export
5360

5461
/metadata/{accession}:
5562
get:
@@ -152,6 +159,7 @@ components:
152159
- nist_msp
153160
- riken_msp
154161
- massbank
162+
- json
155163
example: nist_msp
156164

157165
conversion:

0 commit comments

Comments
 (0)