Page MenuHomeVyOS Platform

HTTP API move to flask/flask-restx as microframework
Closed, ResolvedPublicFEATURE REQUEST


Flask is a microframework similar to bottle, which is currently used for the HTTP API. The Flask extension flask-restx provides Swagger support for exposing the existing api as an OpenAPI document.


Difficulty level
Unknown (require assessment)
vyos 1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jestabro changed the task status from Open to In progress.Apr 29 2020, 5:26 AM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.

This has a dependency on python3-flask-restx, which will need to be added using, for example, T2396.

jestabro changed the status of subtask T2397: HTTP API: export OpenAPI definition from In progress to Needs testing.May 27 2020, 7:13 PM
jestabro moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.

The dependency on flask-restx was dropped, in favor of FastAPI. The move to Flask itself for stability was completed,

erkin set Issue type to Internal change (not visible to end users).Aug 30 2021, 6:30 AM
erkin removed a subscriber: Active contributors.