flyingbird95 / openapi-builder Goto Github PK
View Code? Open in Web Editor NEWA Flask extension to automatically add OpenAPI documentation for your Flask app.
Home Page: https://flyingbird95.github.io/openapi-builder
License: MIT License
A Flask extension to automatically add OpenAPI documentation for your Flask app.
Home Page: https://flyingbird95.github.io/openapi-builder
License: MIT License
File "flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "flask/app.py", line 1511, in full_dispatch_request
self.try_trigger_before_first_request_functions()
File "flask/app.py", line 1563, in try_trigger_before_first_request_functions
self.ensure_sync(func)()
File "openapi_builder/builder.py", line 113, in <lambda>
app.before_first_request(lambda: self.builder.iterate_endpoints())
File "openapi_builder/builder.py", line 162, in iterate_endpoints
with self.config_manager.use_documentation_context(config):
File "python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "openapi_builder/documentation.py", line 70, in use_documentation_context
raise ValueError(f"self.config should be None, but is {self.config}")
Our setup is with multiple Apache workers in separate processes, no threading.
Is this reproducible by calling self.builder.iterate_endpoints() multiple times?
Does https://github.com/FlyingBird95/openapi-builder/blob/master/openapi_builder/documentation.py#L63 need a contextmanager?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.