express-openapi-validator icon indicating copy to clipboard operation
express-openapi-validator copied to clipboard

Export types from the package root

Open rattrayalex opened this issue 4 years ago • 2 comments

Currently I have to do this:

import type { OpenAPIV3 } from "express-openapi-validator/dist/framework/types";

Looking through the framework/types.ts file, it seems many of the types might be useful to users of the library, though I'm not sure if that's true of all of them.

rattrayalex avatar Aug 27 '21 22:08 rattrayalex

exporting all is unlikely what we want. there is certainly value in separating out the OAS types and exporting them independently

cdimascio avatar Aug 29 '21 14:08 cdimascio

Which types would you like to make public?

rattrayalex avatar Aug 29 '21 16:08 rattrayalex