William Cheng 56da2c00ca
Migrate schema samples to use OAS3 samples instead (#6294)
* migrate mysql samples to oas 3.0

* update apache2 to use oas3 spec

* migrate graphql samples to use oas3 spec

* move avro script under bin

* update protobuf samples to use openapi3 spec

* add new files
2020-05-14 17:24:19 +08:00

27 lines
1.0 KiB
SQL

--
-- OpenAPI Petstore.
-- Prepared SQL queries for 'inline_object_3' definition.
--
--
-- SELECT template for table `inline_object_3`
--
SELECT `integer`, `int32`, `int64`, `number`, `float`, `double`, `string`, `pattern_without_delimiter`, `byte`, `binary`, `date`, `dateTime`, `password`, `callback` FROM `inline_object_3` WHERE 1;
--
-- INSERT template for table `inline_object_3`
--
INSERT INTO `inline_object_3`(`integer`, `int32`, `int64`, `number`, `float`, `double`, `string`, `pattern_without_delimiter`, `byte`, `binary`, `date`, `dateTime`, `password`, `callback`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
--
-- UPDATE template for table `inline_object_3`
--
UPDATE `inline_object_3` SET `integer` = ?, `int32` = ?, `int64` = ?, `number` = ?, `float` = ?, `double` = ?, `string` = ?, `pattern_without_delimiter` = ?, `byte` = ?, `binary` = ?, `date` = ?, `dateTime` = ?, `password` = ?, `callback` = ? WHERE 1;
--
-- DELETE template for table `inline_object_3`
--
DELETE FROM `inline_object_3` WHERE 0;