From 0c18461d2485257babd5a544ef452ee5d5f33ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 22 Dec 2018 19:30:24 +0400 Subject: [PATCH 1/2] Add FastAPI and Pydantic to JSON Schema implementations --- implementations.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/implementations.md b/implementations.md index f5348508..be79af3c 100644 --- a/implementations.md +++ b/implementations.md @@ -116,6 +116,9 @@ Hyper-Schema - JavaScript - [@cloudflare/doca](https://github.com/cloudflare/json-schema-tools/tree/master/workspaces/doca) ([JSON Schema Tools](https://github.com/cloudflare/json-schema-tools)), _draft-04, -06, -07, and Doca extensions_ (UI forthcoming) +- Python + - [FastAPI](https://github.com/tiangolo/fastapi) is an API framework based on Python 3.6+ types that generates **OpenAPI 3** schemas, including **JSON Schemas** for all the models declared. + #### Link Description Object utilities - JavaScript @@ -144,6 +147,8 @@ For example, the only incompatibilities between draft-04 and draft-06 involve `e - [Liform](https://github.com/Limenius/liform) (MIT) - generates schemas from Symfony forms - TypeScript - [typescript-json-schema](https://github.com/YousefED/typescript-json-schema) +- Python + - [Pydantic](https://pydantic-docs.helpmanual.io/) (MIT) - generates schemas from Python models based on Python 3.6+ type hints. #### From data From fd83d5395e15ed597986936d23df425f3d0d8da2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Sat, 22 Dec 2018 19:32:44 +0400 Subject: [PATCH 2/2] Add license note to FastAPI --- implementations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/implementations.md b/implementations.md index be79af3c..0984e27b 100644 --- a/implementations.md +++ b/implementations.md @@ -117,7 +117,7 @@ Hyper-Schema - [@cloudflare/doca](https://github.com/cloudflare/json-schema-tools/tree/master/workspaces/doca) ([JSON Schema Tools](https://github.com/cloudflare/json-schema-tools)), _draft-04, -06, -07, and Doca extensions_ (UI forthcoming) - Python - - [FastAPI](https://github.com/tiangolo/fastapi) is an API framework based on Python 3.6+ types that generates **OpenAPI 3** schemas, including **JSON Schemas** for all the models declared. + - [FastAPI](https://github.com/tiangolo/fastapi) (MIT) is an API framework based on Python 3.6+ types that generates **OpenAPI 3** schemas, including **JSON Schemas** for all the models declared. #### Link Description Object utilities