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

Databases element of type array generated class name Databasis instead of Database #461

Closed
rpatrick00 opened this issue Dec 10, 2015 · 1 comment
Milestone

Comments

@rpatrick00
Copy link

I have a schema that has a property defined like this:

                "databases": {
                    "type": "array",
                    "items": {
                        "type": "object",
                        "properties": {
                            "id": { "type": "string" },
                            "nodes": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "id": { "type": "string" },
                                        "connectString": { "type": "string" }
                                    }
                                }
                            }
                        }
                    }
                }

The code being generated is generating a class named "Databasis" instead of "Database" (singular form of "databases"). How can I get the generator to generate the correct name?

rpatrick00 pushed a commit to rpatrick00/jsonschema2pojo that referenced this issue Dec 11, 2015
joelittlejohn added a commit that referenced this issue Dec 11, 2015
#461 - fixing the singular form of databases to be database
@joelittlejohn
Copy link
Owner

Closed by #462

@joelittlejohn joelittlejohn added this to the 0.4.18 milestone Dec 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants