Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #67190

Output JSON-schema from bottle application?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <alec.taylor6@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'schema': 0.05; 'subject:application': 0.07; 'suggestions,': 0.07; 'url:github': 0.09; 'api': 0.11; 'change;': 0.16; '(where': 0.19; 'this?': 0.23; 'message-id:@mail.gmail.com': 0.30; 'libraries': 0.31; 'subject:from': 0.34; 'received:google.com': 0.35; 'there': 0.35; 'doing': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'here': 0.66; 'alec': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gCd0H5O3RmFP3WeU0c9HWFi23EzO8BwNkhmRyVvemBU=; b=ItIX+LroZ96e6G+oupPIiuMgGRJnQLhqh8GlABonLo8Tfwc+YHPbDWs3QOE5qyXeNu E8nj3Xp03NGwuOPLGAfq8eNC8OGU9a750/36m67kRgrrRU68YlYzguleptgQlmq1INHC 1bGoL25+B1pYOK7+8yF3HJY8dM2KEMXtSubRkpB/T31EoaLMYJEMi/w909bXcHdUB6zh pL6EmDCUz17HHIOkMMU82L/DaxU9OL2VSuJyyR/BUOaO7lHA8tkPQ4F1zuU3WehtZA5l NzmuyNn7Crr3pr0+S0prYtqEQ1Ts3x167Z9lMtb7mBMDnuec2m35xBMsgIkUMDRMgCok ZTuw==
MIME-Version 1.0
X-Received by 10.140.89.167 with SMTP id v36mr617597qgd.27.1393559347783; Thu, 27 Feb 2014 19:49:07 -0800 (PST)
Date Fri, 28 Feb 2014 14:49:07 +1100
Subject Output JSON-schema from bottle application?
From Alec Taylor <alec.taylor6@gmail.com>
To "comp.lang.python" <python-list@python.org>
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.7451.1393559357.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1393559357 news.xs4all.nl 2877 [2001:888:2000:d::a6]:42515
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:67190

Show key headers only | View raw


Are there libraries for doing this?

I would like to autogenerate JSON-schema for use inside an API explorer.

However whenever there is a schema change; I would only like to change
the schema in one place (where possible).

E.g.: For use here - https://github.com/salesking/json-schema-browser

How do I do this?

Thanks for all suggestions,

Alec Taylor

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Output JSON-schema from bottle application? Alec Taylor <alec.taylor6@gmail.com> - 2014-02-28 14:49 +1100
  Re: Output JSON-schema from bottle application? Alister <alister.ware@ntlworld.com> - 2014-02-28 09:52 +0000
  Re: Output JSON-schema from bottle application? donarb <donarb@nwlink.com> - 2014-02-28 07:47 -0800

csiph-web