简体   繁体   English

Swagger / OpenAPI Python解析器

[英]Swagger/OpenAPI Python Parser

I want to parse through my swagger/openapi specifications and have the routes put into a python container so they can be used in another project. 我想解析我的swagger / openapi规范,并将路由放入python容器中,以便可以在另一个项目中使用。 It seems like most swagger/openapi projects available are made to go from spec file to an automatically generated api. 似乎大多数可用的swagger / openapi项目都可以从spec文件转换为自动生成的api。 I could probably reuse the parsers from one of those projects or just start from scratch but I wanted to see if there were any projects that are closer to what I am looking for first. 我可能可以从其中一个项目中重用解析器,也可以只是从头开始,但是我想看看是否有任何项目更接近我最初寻找的项目。

I tried looking at dredd, swagger-codegen, connexion and none really fit my needs well 我尝试查看dredd,swagger-codegen,connexion,但没有一个完全适合我的需求

Here are some Python parsers for OpenAPI/Swagger: 以下是一些适用于OpenAPI / Swagger的Python解析器:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM