Created
November 5, 2018 17:23
-
-
Save dtkav/1ffdc1cd5892e7b33ad667ec0d30a3a9 to your computer and use it in GitHub Desktop.
Connexion spec->json example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
from connexion.apis.abstract import Specification | |
spec = Specification.from_spec("swagger.yml") | |
json.dumps(spec.raw) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment