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

Update APIExtensions.cs #1054

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Update APIExtensions.cs #1054

merged 1 commit into from
Apr 3, 2023

Conversation

krbrs
Copy link
Contributor

@krbrs krbrs commented Apr 3, 2023

Get rid of assembly information in schema names for generic types in swagger (as in https://stackoverflow.com/a/56278259)

for example it shortens this:

Shoko.Models.FileQualityPreferences.FileQualityTypeListPair1[[System.Collections.Generic.List1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]

to this:

Shoko.Models.FileQualityPreferences.FileQualityTypeListPair1[System.Collections.Generic.List1[System.String]]

get rid of assembly information in schema names for generic types as in: https://stackoverflow.com/a/56278259
@da3dsoul da3dsoul merged commit 6a724fb into ShokoAnime:master Apr 3, 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