mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
* better support of inline schema in array item * update tests * update samples * regenerate samples * fix allof naming, remove files * add files * update samples * update readme * fix tests * update samples * update samples * add new files * update test spec * add back tests * remove unused files * comment out python test * update js test using own spec * remove files * remove unused files * remove files * remove unused files * better handling of allOf with a single type * comment out go test * remove test_all_of_with_single_ref_single_ref_type.py * fix inline resolver, uncomment go test
27 lines
674 B
SQL
27 lines
674 B
SQL
--
|
|
-- OpenAPI Petstore.
|
|
-- Prepared SQL queries for 'User' definition.
|
|
--
|
|
|
|
|
|
--
|
|
-- SELECT template for table `User`
|
|
--
|
|
SELECT `id`, `username`, `firstName`, `lastName`, `email`, `password`, `phone`, `userStatus` FROM `User` WHERE 1;
|
|
|
|
--
|
|
-- INSERT template for table `User`
|
|
--
|
|
INSERT INTO `User`(`id`, `username`, `firstName`, `lastName`, `email`, `password`, `phone`, `userStatus`) VALUES (?, ?, ?, ?, ?, ?, ?, ?);
|
|
|
|
--
|
|
-- UPDATE template for table `User`
|
|
--
|
|
UPDATE `User` SET `id` = ?, `username` = ?, `firstName` = ?, `lastName` = ?, `email` = ?, `password` = ?, `phone` = ?, `userStatus` = ? WHERE 1;
|
|
|
|
--
|
|
-- DELETE template for table `User`
|
|
--
|
|
DELETE FROM `User` WHERE 0;
|
|
|