feat: complete secure pricing delivery and rollback documentation
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
from flask import Flask, jsonify
|
||||
|
||||
app = Flask(__name__)
|
||||
|
||||
|
||||
@app.get("/health")
|
||||
def health():
|
||||
return jsonify({"status": "healthy", "version": "v2"}), 200
|
||||
|
||||
|
||||
@app.get("/pricing")
|
||||
def pricing():
|
||||
return jsonify({
|
||||
"service": "Startup Pricing Service",
|
||||
"version": "v2",
|
||||
"plans": [
|
||||
{"name": "Starter", "price": 5},
|
||||
{"name": "Basic", "price": 12},
|
||||
{"name": "Pro", "price": 30},
|
||||
{"name": "Enterprise", "price": 60}
|
||||
]
|
||||
}), 200
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=5000)
|
||||
Reference in New Issue
Block a user