Issues in ruby gem generated via swagger-codegen

Hi,

I’m trying to set up a ruby gem for accessing the passbolt API which works so far. My Issue is that at least for the resource API, the generated model for GET seems to use the parameters for POST, i.e., most fields are missing.
If I remove everything except the GET spec and rebuild the gem, the full model is used.
Examples with only GET in swagger.yaml:

  [#<PassboltClient::Resource:0x000055e2fc2cd988
    @created=#<Date: 2022-08-29 ((2459821j,0s,0n),+0s,2299161j)>,
    @created_by="671df1ef-f191-42d4-b449-bca8433c8e87",
    @deleted=false,
    @description="",
    @id="2afeeeb8-6db1-4b07-82c6-7b869a63571e",
    @modified=#<Date: 2022-08-29 ((2459821j,0s,0n),+0s,2299161j)>,
    @modified_by="671df1ef-f191-42d4-b449-bca8433c8e87",
    @name="Resource name",
    @uri="path/to/resrouce",
    @username="username">]

Example with unmodified swagger.yaml:

  [#<PassboltClient::Resource:0x000055fa5e8c1028
    @description="",
    @name="Resource name",
    @uri="path/to/resrouce">]

I generated the gem with:

curl https://raw.githubusercontent.com/passbolt/passbolt_openapi_specs/develop/swagger.yaml -o swagger.yaml
curl https://repo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.4.36/swagger-codegen-cli-2.4.36.jar -o swagger-codegen-cli.jar
java -jar swagger-codegen-cli.jar generate -l ruby -i swagger.yaml -DgemName=passbolt_client -o gem

Can anybody tell me if this is an issue with the swagger.yaml, with swagger or with my usage of swagger?

Best regards
Jan-Martin