Found as part of #7774:
Using the source code from 2026-06-17 and this command:
.\it\generate-code.ps1 -descriptionUrl https://raw.githubusercontent.com/googlemaps/openapi-specification/refs/tags/v1.22.5/dist/google-maps-platform-openapi3.yml -language php -dev
.\it\exec-cmd.ps1 -descriptionUrl https://raw.githubusercontent.com/googlemaps/openapi-specification/refs/tags/v1.22.5/dist/google-maps-platform-openapi3.yml -language Ruby
The generated client reports some Rubocop offenses (all about the same casing problem):
Offenses:
lib/integration_test/client/maps/api/geocode/json_escaped/get_result_type_query_parameter_type.rb:8:29: C: Naming/VariableNumber: Use normalcase for symbol numbers.
Administrative_area_level_1: :Administrative_area_level_1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/integration_test/client/maps/api/geocode/json_escaped/get_result_type_query_parameter_type.rb:8:58: C: Naming/VariableNumber: Use normalcase for symbol numbers.
Administrative_area_level_1: :Administrative_area_level_1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/integration_test/client/maps/api/geocode/json_escaped/get_result_type_query_parameter_type.rb:9:29: C: Naming/VariableNumber: Use normalcase for symbol numbers.
Administrative_area_level_2: :Administrative_area_level_2,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/integration_test/client/maps/api/geocode/json_escaped/get_result_type_query_parameter_type.rb:9:58: C: Naming/VariableNumber: Use normalcase for symbol numbers.
Administrative_area_level_2: :Administrative_area_level_2,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The file has this content:
module Integration_test
module Client
module Maps
module Api
module Geocode
module JsonEscaped
GetResultTypeQueryParameterType = {
Administrative_area_level_1: :Administrative_area_level_1,
Administrative_area_level_2: :Administrative_area_level_2,
Administrative_area_level_3: :Administrative_area_level_3,
Administrative_area_level_4: :Administrative_area_level_4,
Administrative_area_level_5: :Administrative_area_level_5,
Airport: :Airport,
Colloquial_area: :Colloquial_area,
Country: :Country,
Intersection: :Intersection,
Locality: :Locality,
...
}
end
end
end
end
end
end
Found as part of #7774:
Using the source code from 2026-06-17 and this command:
The generated client reports some Rubocop offenses (all about the same casing problem):
The file has this content: