Skip to content

gotidy/fhir-to-openapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generation FHIR R4 OpenAPI 3 specification

GoDev

Generation FHIR 4 OpenAPI 3 specification based on http://hl7.org/fhir/.

Generation

# Install fhir-to-openapi
go get -u github.com/gotidy/fhir-to-openapi/cmd/fhir-to-openapi/...

# Generate OpenAPI 3 specification as YAML file.
fhir-to-openapi -i ./fhir.schema.json -o ./fhir.schema.oapi.yaml
# Or as JSON file.
fhir-to-openapi -i ./fhir.schema.json -o ./fhir.schema.oapi.json

or

git clone https://github.com/gotidy/fhir-to-openapi.git
cd fhir-to-openapi
# Generate OpenAPI 3 specification.
make run
# That variant generate OpenAPI 3 specification and generate Go Client and Server Code (uses https://github.com/deepmap/oapi-codegen).
make run-gen

License

Apache 2.0

About

Generation FHIR R4 OpenAPI 3 specification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published