Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove namespace settings from codeGeneratorSettings #197

Merged
merged 2 commits into from
Oct 14, 2023

Conversation

christianhelle
Copy link
Owner

@christianhelle christianhelle commented Oct 14, 2023

The namespace setting in codeGeneratorSettings and related documentation was removed. This setting is a duplicated and was never respected, it was just causing confusion and was deemed unnecessary. The namespace property is already defined in RefitGeneratorSettings and from the CLI argument --namespace

This resolves the recent issue mentioned in #186 reported by @alrz

The namespace setting in `codeGeneratorSettings` and related documentation was removed. This setting is a duplicated and was never respected, it was just causing confusion and was deemed unnecessary. The `namespace` property is already defined in `RefitGeneratorSettings` and from the CLI argument `--namespace`
Updated the READMEs and code comments in the refitter project to properly reflect the usage of the 'operationNameTemplate' setting. The previous description was unclear on its function when using multiple interfaces setting as 'ByEndpoint'. The changes provide better, clearer guidance for users on how to use the setting in different scenarios.
@christianhelle christianhelle added the bug Something isn't working label Oct 14, 2023
@christianhelle christianhelle self-assigned this Oct 14, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Merging #197 (1ea382a) into main (a94136e) will decrease coverage by 0.01%.
Report is 7 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
- Coverage   98.64%   98.64%   -0.01%     
==========================================
  Files          52       52              
  Lines        1841     1840       -1     
==========================================
- Hits         1816     1815       -1     
  Misses          9        9              
  Partials       16       16              
Flag Coverage Δ
unittests 98.64% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
...rc/Refitter.Core/Settings/CodeGeneratorSettings.cs 100.00% <ø> (ø)

@christianhelle christianhelle merged commit 965e1e6 into main Oct 14, 2023
850 checks passed
@christianhelle christianhelle deleted the remove-code-generator-settings-namespace branch October 15, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant