I would like to create an FHIR API using swagger. Is there any way to specify custom models and parser (HAPI models and HAPI model parsers) in the swagger.yaml file.
These response models are defined in the HAPI libraries (hapi-fhir-structures-dstu3). I would like to generate API code using swagger-codegen with the models defined in the HAPI library.
Hi!
Currently custom models are not being supported. The generated code will work with models defined in swagger definition document (the yaml/json file). You can build a definition adding FHIR HAPI models and can generate projects in differents with codegen v2 and v3.
Subject | Author | Latest Post |
---|---|---|
Subject | Kudos |
---|---|
1 | |
1 |