MCPcopy Create free account
hub / github.com/Tong89/smartNode / openapi_spec

Function openapi_spec

backend/api.py:1632–1634  ·  view source on GitHub ↗

OpenAPI 3.1 规范(机器可读)。

()

Source from the content-addressed store, hash-verified

1630
1631@app.route('/api/openapi.json')
1632def openapi_spec():
1633 """OpenAPI 3.1 规范(机器可读)。"""
1634 return jsonify(OPENAPI_SPEC)
1635
1636
1637@app.route('/docs')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected