Skip to content

Commit

Permalink
adjust swagger doc to reflect new custom_dichotomous support
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlukasse committed Jul 5, 2022
1 parent 6300e42 commit 3116dd5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions openapis/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -731,15 +731,15 @@ paths:
schema:
type: object
properties:
ConceptIds:
variables:
type: array
items: {
type: integer
type: object
}
examples:
example-1:
value:
ConceptIds: [2000000324,2000006885]
variables: [{variable_type: "concept", concept_id: 2000000324},{variable_type: "concept", concept_id: 2000006885},{variable_type: "custom_dichotomous", cohort_ids: [1, 2]}]
responses:
'200':
description: OK
Expand Down Expand Up @@ -900,15 +900,15 @@ paths:
schema:
type: object
properties:
ConceptIds:
variables:
type: array
items: {
type: integer
type: object
}
examples:
example-1:
value:
ConceptIds: [2000000324,2000006885]
variables: [{variable_type: "concept", concept_id: 2000000324},{variable_type: "concept", concept_id: 2000006885},{variable_type: "custom_dichotomous", cohort_ids: [1, 2]}]
responses:
'200':
description: OK
Expand Down Expand Up @@ -979,15 +979,15 @@ paths:
schema:
type: object
properties:
PrefixedConceptIds:
variables:
type: array
items: {
type: string
type: object
}
examples:
example-1:
value:
PrefixedConceptIds: ["ID_2000000324","ID_2000006885","..."]
variables: [{variable_type: "concept", concept_id: 2000000324},{variable_type: "concept", concept_id: 2000006885},{variable_type: "custom_dichotomous", cohort_ids: [1, 2]}]
responses:
'200':
description: OK
Expand Down

0 comments on commit 3116dd5

Please sign in to comment.