Tornado-JSON icon indicating copy to clipboard operation
Tornado-JSON copied to clipboard

A simple JSON API framework based on Tornado

Results 20 Tornado-JSON issues
Sort by recently updated
recently updated
newest added

Is this project active?

I don't see any examples for validating query params, is this possible? I'd like to use a JSON schema to validate the query params. GET method, no body.

A serialization exception is thrown if a handler is `async` instead of decorated with `@coroutine` Example: ```python class MyFailingHandler(APIHandler): @schema.validate(input_schema={'type': 'string'}) async def post(self): self.set_status(201, "created") ``` Thrown error: ```...

I found a bug that caused Tornado to fail because we are sending message after calling finished(). I had submitted an earlier patch that didn't pass tests. This version should....

Hey @hfaran what you think about the idea itself? I still need to write more tests and do some code clean up. Resolves #84

We are using `@schema.validate` on our controllers. A property defined as ``` "properties": { "probability_list": { "type": "array" } } ``` will unfortunately fail in case a Python tuple is...

schema.validate is the place where more than just schema validation is (and can be done) and thus should be generalized. Or the design should be changed in some way to...

Hi, This is an attempt to create dynamic schemas as documented on https://github.com/hfaran/Tornado-JSON/issues/72 I also created a class that IMHO can be used to create in a more elegant way...

[Faker](https://github.com/joke2k/faker) should be a useful library for this. Also will likely need to write custom providers to provide decent examples for different kinds of data, or find them.

enhancement