{"push_id":1249448063,"size":13,"distinct_size":13,"ref":"refs/heads/master","head":"7f15da268a3895f5f0299e2139b52bce2c02a3bf","before":"15f42483469a0491df9b849ccfe770bf03e78ee6","commits":[{"sha":"69ce0cb9131758205163069b4bff3c084a648ac0","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"init","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/69ce0cb9131758205163069b4bff3c084a648ac0"},{"sha":"011e554e4c99cb2b0ca3f1817f96ebf3d4373935","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"Add a minimal dancer2 api example\n\nVia\n    set serializer => 'JSON';\nany data structure returned will be automatically converted to JSON\n\nWhat's missing?\n* Documentation\n* Input and output validation\n* Tests\n\nIn the next step we will add documentation.","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/011e554e4c99cb2b0ca3f1817f96ebf3d4373935"},{"sha":"236ed612125765225cc72482e7da14ee44d7167d","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"add share/openapi.yaml specification\n\nThis is the public documentation.\n\nOf course this is not very nice to read, so in the next\nstep we will add the Swagger UI frontend.","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/236ed612125765225cc72482e7da14ee44d7167d"},{"sha":"9377290fd1871df29ce4fa11c94de28e6b109e1a","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"add Swagger UI frontend\n\nFor this you have to clone the swagger-ui repository:\n\n    git clone git@github.com:swagger-api/swagger-ui.git public/swagger-ui\n\nTry out the URL in the README to play with the API.\n\nNow that we have specified input and output very detailed, we\nonly need to add the Dancer2::Plugin::Swagger2 module, and\neverything will be validated against the schema.","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/9377290fd1871df29ce4fa11c94de28e6b109e1a"},{"sha":"d3aca8521f8b9c92bfc559b2d6c57d9ea264905f","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"add Dancer2::Plugin::Swagger2\n\nThe routes are created by the plugin, and api.pm implements the\nmethods specified by operationId in the spec.\n\nNow the following should fail:\n\n    GET \"http://localhost:5000/menu/items/foo\"\n\nwith this error message:\n\n    \"/id: Expected integer - got string.\"\n\nAlso:\n\n     GET \"http://localhost:5000/menu?category=foo\"\n\n     \"/category: Not in enum list: main, drinks.\"","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/d3aca8521f8b9c92bfc559b2d6c57d9ea264905f"},{"sha":"ec53847268ebc634ce0cd82c7ed1abe825af1fac","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"demonstrate problem with numbers vs. strings\n\nand add comment about DBIx::Class::Helper::Row::NumifyGet","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/ec53847268ebc634ce0cd82c7ed1abe825af1fac"},{"sha":"193f5cc46f70225d918ffc2e8241b4c5f235b777","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"revert last commit","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/193f5cc46f70225d918ffc2e8241b4c5f235b777"},{"sha":"4dd95b6e5c52e17bc5f4290801942c7624910b8a","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"demonstrate problem with non existant vs. null values","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/4dd95b6e5c52e17bc5f4290801942c7624910b8a"},{"sha":"2737b61dccc79351c9962a5af8787a17fc251549","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"revert last commit","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/2737b61dccc79351c9962a5af8787a17fc251549"},{"sha":"40e7ab87773aaf8f8621d49f4a464c35e5fd10f0","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"spec: add MenuItemShort\n\nThe /menu call should return only a part of the data. We change\nthis first in the spec.\n\nShouldn't the validator complain when calling this?\n\n  GET \"http://localhost:5000/menu\"\n\nSee next commit","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/40e7ab87773aaf8f8621d49f4a464c35e5fd10f0"},{"sha":"ce27d848f43ad9888db6c03361fee0f6ef62aca7","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"add `additionalProperties: false` to schema\n\nnow the /menu call should fail:\n\n    \"/0: Properties not allowed: description, price.\",\n    \"/1: Properties not allowed: description, price.\"\n\nIf it doesn't, maybe it's because you're using YAML::Syck.\nIn that case try YAML::XS.","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/ce27d848f43ad9888db6c03361fee0f6ef62aca7"},{"sha":"41777689500a7e3473b104410989a8d1ba62d0b7","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"implementation: return a minimal version of a menu item\n\nThe validator shouldn't complain any more.","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/41777689500a7e3473b104410989a8d1ba62d0b7"},{"sha":"7f15da268a3895f5f0299e2139b52bce2c02a3bf","author":{"name":"Tina Müller","email":"79c331bf961aa093a183e21b9c70b7005d62f42e@tinita.de"},"message":"write our own controller","distinct":true,"url":"https://api.github.com/repos/perlpunk/perl5-dancer-swagger-example/commits/7f15da268a3895f5f0299e2139b52bce2c02a3bf"}]}
{"actor":{"display_login":"perlpunk"}}