From 7ea1e5a6a86a8e3edfb78949eb3f5ad599b6e4c7 Mon Sep 17 00:00:00 2001 From: Jacob Enders Date: Fri, 23 Sep 2022 16:07:05 -0400 Subject: [PATCH 1/3] Expose the RouteConfig interface. I am trying to build a helper function to register schemas. Having access to the RouteConfig interface would be helpful here, because I could build a function that takes in a RouteConfig. Instead of passing the registry around everywhere, I'd like to expose my helper function to the code that needs it. --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3ace411..e0b9a2c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,3 @@ export * from './zod-extensions'; export { OpenAPIGenerator } from './openapi-generator'; -export { OpenAPIRegistry } from './openapi-registry'; +export { OpenAPIRegistry, RouteConfig } from './openapi-registry'; From 4966d44eca647db30ecc4b32e68c0ddb24cf2ef2 Mon Sep 17 00:00:00 2001 From: Jacob Enders Date: Sun, 25 Sep 2022 20:07:56 -0400 Subject: [PATCH 2/3] expose ResponseConfig --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index e0b9a2c..509d277 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,3 @@ export * from './zod-extensions'; export { OpenAPIGenerator } from './openapi-generator'; -export { OpenAPIRegistry, RouteConfig } from './openapi-registry'; +export { OpenAPIRegistry, RouteConfig, ResponseConfig } from './openapi-registry'; From 11194f392e613acfb84acd8e734ec9c88dbcd452 Mon Sep 17 00:00:00 2001 From: Jacob Enders Date: Tue, 27 Sep 2022 14:17:02 -0400 Subject: [PATCH 3/3] properly format code --- src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 509d277..7e3b4d6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,7 @@ export * from './zod-extensions'; export { OpenAPIGenerator } from './openapi-generator'; -export { OpenAPIRegistry, RouteConfig, ResponseConfig } from './openapi-registry'; +export { + OpenAPIRegistry, + RouteConfig, + ResponseConfig, +} from './openapi-registry';