Skip to content

Commit

Permalink
fixup! feat: make it possible to return data from /details as CSV #284
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed Aug 4, 2023
1 parent 9253695 commit 92513ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lapis2/src/main/kotlin/org/genspectrum/lapis/OpenApiDocs.kt
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ private fun fieldsSchema() = Schema<String>()
private fun formatSchema() = Schema<String>()
.type("string")
.description(
"The data format of the response. It is preferred to set the Accept header instead," +
" but having this as a parameters enables users to share links to download CSV files.",
"The data format of the response. " +
"Alternatively, the data format can be specified by setting the \"Accept\"-header.",
)
._enum(listOf("csv", "tsv", "json"))
._default("json")

0 comments on commit 92513ec

Please sign in to comment.