Skip to content

class-generator creates incorrect filename for MaaSModelRef resource #2664

@SB159

Description

@SB159

Describe the bug
When generating a resource wrapper using class-generator, the generated filename for the MaaSModelRef resource is incorrect. The generator creates the file: ocp_resources/maa_s_model_ref.py, However, the expected filename should be: ocp_resources/maasmodelref.py

To Reproduce
Steps to reproduce the behavior:
1.Run the command: class-generator --kind MaaSModelRef
2.The generated file is: ocp_resources/maa_s_model_ref.py
3.
4.

Expected behavior
The generator should create the file: without splitting MaaS into maa_s.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions