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