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

Convert all the parameters with multiple possible values to enum - Fhir Source #1283

Merged
merged 2 commits into from
Feb 8, 2023
Merged
Show file tree
Hide file tree
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
6 changes: 4 additions & 2 deletions kamelets/fhir-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ spec:
default: "/Patient"
encoding:
title: Encoding
description: Encoding to use for all request. Possible values are JSON and XML
description: Encoding to use for all request.
type: string
default: "JSON"
enum: ["JSON", "XML"]
fhirVersion:
title: Fhir Version
description: The FHIR Version to use. There are 6 enums and the value can be one of DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5
description: The FHIR Version to use.
type: string
default: "R4"
enum: ["DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5"]
username:
title: Username
description: The username to access the Fhir server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ spec:
default: "/Patient"
encoding:
title: Encoding
description: Encoding to use for all request. Possible values are JSON and XML
description: Encoding to use for all request.
type: string
default: "JSON"
enum: ["JSON", "XML"]
fhirVersion:
title: Fhir Version
description: The FHIR Version to use. There are 6 enums and the value can be one of DSTU2, DSTU2_HL7ORG, DSTU2_1, DSTU3, R4, R5
description: The FHIR Version to use.
type: string
default: "R4"
enum: ["DSTU2", "DSTU2_HL7ORG", "DSTU2_1", "DSTU3", "R4", "R5"]
username:
title: Username
description: The username to access the Fhir server
Expand Down