Skip to content

Commit

Permalink
fix(lapis): fix description of mutation objects in OpenApi spec (#1051)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer authored Jan 16, 2025
1 parent e2121ea commit c6f625e
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,7 @@ fun buildOpenApiSchema(
lapisResponseSchema(
Schema<String>()
.type("object")
.description(
"The response contains the metadata of every sequence matching the sequence filters.",
)
.description("The count and proportion of a mutation.")
.properties(nucleotideMutationProportionSchema())
.required(
nucleotideMutationProportionSchema().keys
Expand All @@ -194,9 +192,7 @@ fun buildOpenApiSchema(
lapisResponseSchema(
Schema<String>()
.type("object")
.description(
"The response contains the metadata of every sequence matching the sequence filters.",
)
.description("The count and proportion of a mutation.")
.properties(aminoAcidMutationProportionSchema())
.required(aminoAcidMutationProportionSchema().keys.toList()),
),
Expand Down

0 comments on commit c6f625e

Please sign in to comment.