From 0f88f506e73713e374ee37abcba48a7ce7ba9d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaeyson=20Anthony=20Y=2E=20=E2=9A=97=EF=B8=8F?= Date: Tue, 20 Aug 2024 16:18:08 +0800 Subject: [PATCH] Update config/config.exs Co-authored-by: Kian-Meng Ang --- config/config.exs | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/config/config.exs b/config/config.exs index 3ab6b7b..920be49 100644 --- a/config/config.exs +++ b/config/config.exs @@ -7,11 +7,15 @@ if Mix.env() in [:dev, :test] do port: 8108, scheme: "http" - config :oapi_generator, - default: [ - output: [ - base_module: ExTypesense, - location: "openapi/generator/ExTypesense" - ] +import Config + +config :oapi_generator, + default: [ + output: [ + base_module: OpenApiTypesense, + location: "lib/open_api_typesense" + operation_subdirectory: "operations/", + schema_subdirectory: "schemas/" ] + ] end