mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
* 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
27 lines
376 B
SQL
27 lines
376 B
SQL
--
|
|
-- OpenAPI Petstore.
|
|
-- Prepared SQL queries for 'Foo' definition.
|
|
--
|
|
|
|
|
|
--
|
|
-- SELECT template for table `Foo`
|
|
--
|
|
SELECT `bar` FROM `Foo` WHERE 1;
|
|
|
|
--
|
|
-- INSERT template for table `Foo`
|
|
--
|
|
INSERT INTO `Foo`(`bar`) VALUES (?);
|
|
|
|
--
|
|
-- UPDATE template for table `Foo`
|
|
--
|
|
UPDATE `Foo` SET `bar` = ? WHERE 1;
|
|
|
|
--
|
|
-- DELETE template for table `Foo`
|
|
--
|
|
DELETE FROM `Foo` WHERE 0;
|
|
|