openapi-merge
    Preparing search index...

    Type Alias ServersStrategy

    ServersStrategy: "first" | "concat"

    How the top-level servers array is combined across inputs.

    • 'first' — the first input that declares servers wins and the rest are discarded. This is the historical behaviour and remains the default: the tool is aimed at putting several services behind one API gateway, where the gateway's servers are canonical and a backend's own URLs are an implementation detail that must not leak into the published document.
    • 'concat' — every input's servers, in input order, deduplicated by URL. For people merging microservice specs to document all of them at once.