@@ -211,8 +211,11 @@ OPTIONS:
211
211
--disableCodingRules Disable ATC-Coding-Rules
212
212
--useProblemDetailsAsDefaultResponseBody Use ProblemDetails as default responsen body
213
213
--endpointsLocation [ENDPOINTSLOCATION] If endpoints-localtion is provided, generated files will be placed here instead of the Endpoints folder
214
+ --endpointsNamespace [ENDPOINTSNAMESPACE] If endpoints-namespace is provided, generated files will be placed here instead of the Endpoints namespace
214
215
--contractsLocation [CONTRACTSLOCATION] If contracts-localtion is provided, generated files will be placed here instead of the Contracts folder
216
+ --contractsNamespace [CONTRACTSNAMESPACE] If contracts-namespace is provided, generated files will be placed here instead of the Contracts namespace
215
217
--handlersLocation [HANDLERSLOCATION] If handlers-localtion is provided, generated files will be placed here instead of the Handlers folder
218
+ --handlersNamespace [HANDLERSNAMESPACE] If handlers-namespace is provided, generated files will be placed here instead of the Handlers namespace
216
219
--usePartialClassForContracts Use Partial-Class for contracts
217
220
--usePartialClassForEndpoints Use Partial-Class for endpoints
218
221
--removeNamespaceGroupSeparatorInGlobalUsings Remove space between namespace groups in GlobalUsing.cs
@@ -256,8 +259,11 @@ COMMANDS:
256
259
"projectName" : " " ,
257
260
"projectSuffixName" : " " ,
258
261
"contractsLocation" : " Contracts.[[apiGroupName]]" ,
262
+ "contractsNamespace" : " Contracts.[[apiGroupName]]" ,
259
263
"endpointsLocation" : " Endpoints.[[apiGroupName]]" ,
264
+ "endpointsNamespace" : " Endpoints.[[apiGroupName]]" ,
260
265
"handlersLocation" : " Handlers.[[apiGroupName]]" ,
266
+ "handlersNamespace" : " Handlers.[[apiGroupName]]" ,
261
267
"usePartialClassForContracts" : false ,
262
268
"usePartialClassForEndpoints" : false ,
263
269
"removeNamespaceGroupSeparatorInGlobalUsings" : false ,
@@ -288,8 +294,11 @@ COMMANDS:
288
294
"projectName" : " " ,
289
295
"projectSuffixName" : " " ,
290
296
"contractsLocation" : " Contracts.[[apiGroupName]]" ,
297
+ "contractsNamespace" : " Contracts.[[apiGroupName]]" ,
291
298
"endpointsLocation" : " Endpoints.[[apiGroupName]]" ,
299
+ "endpointsNamespace" : " Endpoints.[[apiGroupName]]" ,
292
300
"handlersLocation" : " Handlers.[[apiGroupName]]" ,
301
+ "handlersNamespace" : " Handlers.[[apiGroupName]]" ,
293
302
"usePartialClassForContracts" : false ,
294
303
"usePartialClassForEndpoints" : false ,
295
304
"removeNamespaceGroupSeparatorInGlobalUsings" : false ,
@@ -346,7 +355,7 @@ You can use specific syntax to define and customize the output file structure.
346
355
347
356
##### Syntax
348
357
349
- For options like ` contractsLocation ` , ` endpointsLocation ` , and ` handlersLocation ` ,
358
+ For options like ` contractsLocation ` , ` contractsNamespace ` , ` endpointsLocation ` , ` endpointsNamespace ` , ` handlersLocation ` , ` handlersNamespace ` ,
350
359
you can define paths using placeholders and custom directory names.
351
360
352
361
The syntax is flexible and allows you to organize files based on grouping or specific requirements.
@@ -355,13 +364,20 @@ The syntax is flexible and allows you to organize files based on grouping or spe
355
364
356
365
| Option-Name | Option-Value | Example-file | Generated-output |
357
366
| -------------| --------------| --------------| ------------------|
358
- | contractsLocation | Contracts | Account.cs | [ Project-root] \Contracts\Accounts\Account.cs |
359
- | contractsLocation | Contracts.[[ apiGroupName]] | Account.cs | [ Project-root] \Contracts\Accounts\Account.cs |
360
- | contractsLocation | Contracts-[[ apiGroupName]] | Account.cs | [ Project-root] \Contracts\Accounts\Account.cs |
361
- | contractsLocation | [[ apiGroupName]] .MyContracts | Account.cs | [ Project-root] \Accounts\MyContracts\Account.cs |
362
- | contractsLocation | [[ apiGroupName]] -MyContracts | Account.cs | [ Project-root] \Accounts\MyContracts\Account.cs |
363
- | contractsLocation | [[ apiGroupName]] | Account.cs | [ Project-root] \Accounts\Account.cs |
364
- | contractsLocation | . | Account.cs | [ Project-root] \Account.cs |
367
+ | contractsLocation | Contracts | Account.cs | [ Project-root] \Contracts\Accounts\Account.cs |
368
+ | contractsLocation | Contracts.[[ apiGroupName]] | Account.cs | [ Project-root] \Contracts\Accounts\Account.cs |
369
+ | contractsLocation | Contracts-[[ apiGroupName]] | Account.cs | [ Project-root] \Contracts\Accounts\Account.cs |
370
+ | contractsLocation | [[ apiGroupName]] .MyContracts | Account.cs | [ Project-root] \Accounts\MyContracts\Account.cs |
371
+ | contractsLocation | [[ apiGroupName]] -MyContracts | Account.cs | [ Project-root] \Accounts\MyContracts\Account.cs |
372
+ | contractsLocation | [[ apiGroupName]] | Account.cs | [ Project-root] \Accounts\Account.cs |
373
+ | contractsLocation | . | Account.cs | [ Project-root] \Account.cs |
374
+ | contractsNamespace | Contracts | Account.cs | [ Project-root] .Contracts.Accounts.Account.cs |
375
+ | contractsNamespace | Contracts.[[ apiGroupName]] | Account.cs | [ Project-root] .Contracts.Accounts.Account.cs |
376
+ | contractsNamespace | Contracts-[[ apiGroupName]] | Account.cs | [ Project-root] .Contracts.Accounts.Account.cs |
377
+ | contractsNamespace | [[ apiGroupName]] .MyContracts | Account.cs | [ Project-root] .Accounts.MyContracts.Account.cs |
378
+ | contractsNamespace | [[ apiGroupName]] -MyContracts | Account.cs | [ Project-root] .Accounts.MyContracts.Account.cs |
379
+ | contractsNamespace | [[ apiGroupName]] | Account.cs | [ Project-root] .Accounts.Account.cs |
380
+ | contractsNamespace | . | Account.cs | [ Project-root] .Account.cs |
365
381
366
382
> Placeholder Explanation:
367
383
>
0 commit comments