Skip to main content

Helper library to build Swagger Schema objects from Schematics models

Project description

Build Status

Usecase

  • I have a REST API built using aiohttp and schematics.
  • I want to provide Swagger spec for it and I use aiohttp-swagger.
  • I'm too lazy to describe models for swagger docs so I want to build this information automatically

Usage

import schematics_to_swagger

from your_package import models

definitions = schematics_to_swagger.read_models_from_module(models)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schematics-to-swagger-1.4.7.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

schematics_to_swagger-1.4.7-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file schematics-to-swagger-1.4.7.tar.gz.

File metadata

  • Download URL: schematics-to-swagger-1.4.7.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

File hashes

Hashes for schematics-to-swagger-1.4.7.tar.gz
Algorithm Hash digest
SHA256 26108ae5fb8fc3dbe5e43262873a7462bb6ac40640475ab38ed9d3d3acad4b16
MD5 f114675c16606fb74ef7e33b2b7fb462
BLAKE2b-256 f7b4a5c7991fc297cd57c0919162ef67190780e77324dcfa618640fd93e23b3c

See more details on using hashes here.

File details

Details for the file schematics_to_swagger-1.4.7-py3-none-any.whl.

File metadata

  • Download URL: schematics_to_swagger-1.4.7-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

File hashes

Hashes for schematics_to_swagger-1.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 32b071a2f964fb4761b277a2faaec3c1d9bdeee67669c3c789e853e16c81e1f6
MD5 d5a61183b55210bbbeec872d37298650
BLAKE2b-256 170c3d2334ba3a15aabd9c05965fd855b4b58700e8cd27f69ec4f524e187a247

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page