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

[Question]: Change scheme name on model registry #2413

Open
Norbytus opened this issue Dec 25, 2024 · 0 comments
Open

[Question]: Change scheme name on model registry #2413

Norbytus opened this issue Dec 25, 2024 · 0 comments
Labels

Comments

@Norbytus
Copy link

Norbytus commented Dec 25, 2024

Version

4.29.*

Question

In default behavior you cant change model schema name, it's get end of fqcn in Model Registry, and i not find way to change this behavior.

Example

I have a two classes with similar name but in different namespaces

namespace App/Request/V1/TaskOne;

final readonly class SomeRequest
{
    public function __construct(/** args */) {}
}

namespace App/Request/V1/TaskTwo;

final readonly class SomeRequest
{
    public function __construct(/** args */) {}
}

In openapi json it will be

            "SomeRequest": {
                "type": "object"
            },
            "SomeRequest2": {
                "type": "object"
            },

I not found way to change this behavior, cause ModelRegistry doesn't have interface or way to change name generation

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant