File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
compiler-rs/clients_schema_to_openapi/src Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ use clients_schema::Flavor;
2323use tracing:: Level ;
2424use tracing_subscriber:: fmt:: format:: FmtSpan ;
2525use tracing_subscriber:: FmtSubscriber ;
26+ use clients_schema_to_openapi:: Configuration ;
2627
2728fn main ( ) -> anyhow:: Result < ( ) > {
2829 let cli = Cli :: parse ( ) ;
@@ -83,7 +84,12 @@ impl Cli {
8384 Some ( SchemaFlavor :: Serverless ) => Some ( Flavor :: Serverless ) ,
8485 } ;
8586
86- let openapi = clients_schema_to_openapi:: convert_schema ( model, flavor) ?;
87+ let config = Configuration {
88+ flavor,
89+ ..Default :: default ( )
90+ } ;
91+
92+ let openapi = clients_schema_to_openapi:: convert_schema ( model, config) ?;
8793
8894 let output: Box < dyn std:: io:: Write > = {
8995 if let Some ( output) = self . output {
You can’t perform that action at this time.
0 commit comments