Skip to content

openapi spec generation improvements #7271

@nathanloyer

Description

@nathanloyer

HAPI OpenAPI spec generation could be enhanced to allow users to customize the spec with extensions and other customizations.

My team needs to add custom extensions to the generated openapi spec, so I've put together some changes that will allow us to override the OpenApiInterceptor and customize what gets generated. We're also going to be using this to append more detailed json schema definitions into the spec so developers can quickly see what the FHIR objects look like without jumping out to read the FHIR Docs.

Let me know what you think and if I need to make any adjustments before we can merge. I have been mostly testing with direct integration with my server so far, but I will add more rigorous testing if you agree that this is a useful feature that we can merge.

I have had an open pull request on this for several months that I would like to get reviewed and merged if possible: #6651

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions