Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6E8372009D9 for ; Thu, 19 May 2016 17:02:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6D010160A00; Thu, 19 May 2016 15:02:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B6DF61609AE for ; Thu, 19 May 2016 17:02:51 +0200 (CEST) Received: (qmail 53272 invoked by uid 500); 19 May 2016 15:02:51 -0000 Mailing-List: contact dev-help@asterixdb.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@asterixdb.incubator.apache.org Delivered-To: mailing list dev@asterixdb.incubator.apache.org Received: (qmail 53260 invoked by uid 99); 19 May 2016 15:02:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2016 15:02:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 49BDAC006B for ; Thu, 19 May 2016 15:02:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qK8y-Csl68n7 for ; Thu, 19 May 2016 15:02:47 +0000 (UTC) Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id F1F1E5F246 for ; Thu, 19 May 2016 15:02:46 +0000 (UTC) Received: by mail-wm0-f46.google.com with SMTP id n129so40254019wmn.1 for ; Thu, 19 May 2016 08:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=EFN9g9QXYgGjrbXcQ5vGW+uGKm48oUkzyhfL50vHCTA=; b=uvXsbYynSvj7muVkcXjdRc5SoUzjRTrJBn3TE5WaCzv8QEbNwnC6qDQc9aPh2rVW92 8lMMZBCpl6A8RxQs8f2a+IMxJPhONv+a68HwIg0ZpIAU2CANMJ5GftN7OWcV68rHyuPi MU1oH5Ed+LY2sEazAaUIh8bwi92gIv2wzjXTXXRobY2n0XZnLh8hPSD2Ni4rcjsosTpT fXsHRtJ8KDBWgkNG5s0H91SaFeNIthn93PgG8rnT7+Qo7eah0HZXGoNBMu/yubfJ5tXb tKMTGX8qly6QFK3Lh6aGJ3l9VK/dk7OPdgs9NY8AuI3+PoDVwJY4l7wCmTmRNcwEwgwE UrEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=EFN9g9QXYgGjrbXcQ5vGW+uGKm48oUkzyhfL50vHCTA=; b=aiVOeqx94F9ZtGwuuogT8TPu4dK6Y32BKf3qWl/FHjBtulg6UROtKmisKnZobijJCq RmpmTU9q5wxTDyOVkuBdGS0sFw0vxLK8G4mZvy1KvArASn7eIGQGoftXPz74RKychfwb Vxqq2HmRkvvjh5lQvVHeOF++2BSVNJLhdwsQIV8ljuGjIL/EInK4/KL4PDPa56C5PLis Y3rBtGgcBVK3fIkkYEegT/MqvX01Ygu8gZcXGs/b230G70IyDdmCByOpA3ZDXLMJScZz 1lCcC5aboC7if+Tr8EmLw/EUflLKxc+ZnZB1NDIgnDzccadQer8tKoqBwyDr9CEcb8hc 8zRA== X-Gm-Message-State: AOPr4FXHtnaUJadwaZ2JV3h/a/3/iTf1bNRn5L+u07tjV6/VcvXeW5iE95SUBuTlhKkaFc8NhPDBjdLDdWgz2A== MIME-Version: 1.0 X-Received: by 10.28.212.8 with SMTP id l8mr13709567wmg.11.1463670165922; Thu, 19 May 2016 08:02:45 -0700 (PDT) Received: by 10.194.148.101 with HTTP; Thu, 19 May 2016 08:02:45 -0700 (PDT) In-Reply-To: <883FB0EF-099D-4A4A-829C-604E66C09EAE@apache.org> References: <883FB0EF-099D-4A4A-829C-604E66C09EAE@apache.org> Date: Thu, 19 May 2016 20:32:45 +0530 Message-ID: Subject: Re: SwaggerIO for the new HTTP API From: Kaveen Rodrigo To: dev@asterixdb.incubator.apache.org Content-Type: multipart/alternative; boundary=001a11468c4e4eef1e05333344a4 archived-at: Thu, 19 May 2016 15:02:52 -0000 --001a11468c4e4eef1e05333344a4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey Till, I update the gist with the changes, https://gist.github.com/KaveenR/266a2e5b49a8f4216cf9c7d1e14f3113 and by the way you can use http://editor.swagger.io/ to view the YAML as a formatted specification cheers, Kaveen On 19 May 2016 at 12:19, Till Westmann wrote: > Hi, > > at a quick glance that seems reasonable (haven=E2=80=99t digged into the = details). > However, I=E2=80=99d like to propose a change to the urls. I=E2=80=99d li= ke to replace > > /query with /query/service > /status with /query/status > /results with /query/result > > Would that be ok? > > Cheers, > Till > > On 18 May 2016, at 12:34, Kaveen Rodrigo wrote: > > > Hello all, > > > > I wrote a swaggerIO yaml for personal reference and maybe we can add th= is > > to the wiki, please comment if there is anything missing / wrong. > > > > https://gist.github.com/KaveenR/266a2e5b49a8f4216cf9c7d1e14f3113 > > > > This yaml is still not ready for generating API's since the different > > result types/ > > > > cheers, > > > > -- > > Kaveen Rodrigo > > Personal Website - (lifeofenigma.com) > > > > > > Software Engineering Undergraduate, > > Informatics Institute of Technology Sri Lanka (Affiliated with Universi= ty > > of Westminster, UK) > > > > > > *Contact Information* > > > > *Mobile* +94779684740 > > > > *E-Mail* kaveen.2013175@iit.ac.lk | u.k.k.rodrigo@gmail.com > --=20 Kaveen Rodrigo Personal Website - (lifeofenigma.com) Software Engineering Undergraduate, Informatics Institute of Technology Sri Lanka (Affiliated with University of Westminster, UK) *Contact Information* *Mobile* +94779684740 *E-Mail* kaveen.2013175@iit.ac.lk | u.k.k.rodrigo@gmail.com --001a11468c4e4eef1e05333344a4--