-
Notifications
You must be signed in to change notification settings - Fork 0
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 4.0.0 #3
Update 4.0.0 #3
Conversation
@@ -59,7 +59,7 @@ class ProjectSettings implements ModelInterface, ArrayAccess, \JsonSerializable | |||
*/ | |||
protected static $openAPITypes = [ | |||
'links' => '\Aternos\HangarApi\Model\LinkSection[]', | |||
'tags' => 'string[]', | |||
'tags' => '\Aternos\HangarApi\Model\Tag[]', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
string[] is the correct type here but editing generated files is annoying, so just leave it, I guess
You could also add a real enum for Tag and use it in ProjectSearchOptions, like with the Platform and ProjectCategory enums in lib/Client/Options |
Done |
I updated the generated code with openapi generator 7.8.0.
Changes:
APIKeysApi->getKeys()
from\Aternos\HangarApi\Model\ApiKey
to\Aternos\HangarApi\Model\ApiKey[]
platform_version
fromVersionsAPI->listVersions()
platformVersion
fromCompactProject->getVersions()
platformVersion
fromProject->getVersions()
platformVersion
fromVersionSearchOptions
description
toProjectCompact
tags
inProjectSettings
fromstring[]
to\Aternos\HangarApi\Model\Tag[]