forked from loafle/openapi-generator-original
Support models with multi-level hierarchy (via roxspring) (#4503)
* Example of broken multi-level hierarchy * Support for multiple levels of hierarchy in model objects * Support for multiple levels of hierarchy in generators * Regenerated samples * Temporarily skip scalaz sample verification, which is having issue with Java version in CI container * Re-enable scalaz in verify samples Co-authored-by: Rob Oxspring <roxspring@imapmail.org>
This commit is contained in:
committed by
William Cheng
parent
daec02b8c5
commit
376e419d0b
@@ -142,6 +142,25 @@ CREATE TABLE IF NOT EXISTS `ArrayTest` (
|
||||
`array_array_of_model` JSON DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `BigCat` generated from model 'BigCat'
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `BigCat` (
|
||||
`className` TEXT NOT NULL,
|
||||
`color` TEXT,
|
||||
`declawed` TINYINT(1) DEFAULT NULL,
|
||||
`kind` ENUM('lions', 'tigers', 'leopards', 'jaguars') DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `BigCat_allOf` generated from model 'BigCatUnderscoreallOf'
|
||||
--
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `BigCat_allOf` (
|
||||
`kind` ENUM('lions', 'tigers', 'leopards', 'jaguars') DEFAULT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Table structure for table `Capitalization` generated from model 'Capitalization'
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user