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

fix(oas): align generated names with inso naming #91

Merged
merged 4 commits into from
Sep 29, 2023
Merged

fix(oas): align generated names with inso naming #91

merged 4 commits into from
Sep 29, 2023

Conversation

Tieske
Copy link
Member

@Tieske Tieske commented Sep 29, 2023

Names generated were slightly different from the names generated
by Inso. This lines them up.
This is however not 100% acurate. Inso had an issue with generating
duplicate names if there were 2 identical paths, with and without
trailing slash (/). So here we add "~" as indicator of a trailing
slash. Other differences might be in the way non-english characters
are slugified. Things like; "北京kožušček"

Names generated were slightly different from the names generated
by Inso. This lines them up.
This is however not 100% acurate. Inso had an issue with generating
duplicate names if there were 2 identical paths, with and without
trailing slash (/). So here we add "~" as indicator of a trailing
slash. Other differences might be in the way non-english characters
are slugified. Things like; "北京kožušček"
@codecov-commenter
Copy link

codecov-commenter commented Sep 29, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e878385) 0.00% compared to head (7d88bb0) 69.32%.

Additional details and impacted files
@@            Coverage Diff            @@
##           main      #91       +/-   ##
=========================================
+ Coverage      0   69.32%   +69.32%     
=========================================
  Files         0       17       +17     
  Lines         0     2386     +2386     
=========================================
+ Hits          0     1654     +1654     
- Misses        0      613      +613     
- Partials      0      119      +119     
Files Coverage Δ
openapi2kong/openapi2kong.go 78.11% <100.00%> (ø)

... and 16 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Tieske Tieske merged commit bdfeab4 into main Sep 29, 2023
2 checks passed
@Tieske Tieske deleted the inso-names branch September 29, 2023 15:21
Tieske added a commit that referenced this pull request Sep 29, 2023
Names generated were slightly different from the names generated
by Inso. This lines them up.
This is however not 100% acurate. Inso had an issue with generating
duplicate names if there were 2 identical paths, with and without
trailing slash (/). So here we add "~" as indicator of a trailing
slash. Other differences might be in the way non-english characters
are slugified. Things like; "北京kožušček"
Tieske added a commit that referenced this pull request Oct 27, 2023
Tieske added a commit that referenced this pull request Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants