Page Contents

Home > @loopback/openapi-v3 > OASEnhancer > modifySpec

OASEnhancer.modifySpec() method

Signature:

modifySpec(spec: OpenApiSpec): ValueOrPromise<OpenApiSpec>;

Parameters

Parameter Type Description
spec OpenApiSpec  

Returns:

ValueOrPromise<OpenApiSpec>