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
589 B
SQL

--
-- OpenAPI Petstore.
-- Prepared SQL queries for '_special_model.name_' definition.
--
--
-- SELECT template for table `_special_model.name_`
--
SELECT `$special[property.name]` FROM `_special_model.name_` WHERE 1;
--
-- INSERT template for table `_special_model.name_`
--
INSERT INTO `_special_model.name_`(`$special[property.name]`) VALUES (?);
--
-- UPDATE template for table `_special_model.name_`
--
UPDATE `_special_model.name_` SET `$special[property.name]` = ? WHERE 1;
--
-- DELETE template for table `_special_model.name_`
--
DELETE FROM `_special_model.name_` WHERE 0;