mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2025-02-25 18:55:21 -06:00
17 lines
558 B
Python
17 lines
558 B
Python
# Copyright 2018 Ivan Yelizariev <https://it-projects.info/team/yelizariev>
|
|
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
|
|
from flectra import fields, models
|
|
|
|
|
|
class Log(models.Model):
|
|
_name = "openapi.log"
|
|
_order = "id desc"
|
|
_description = "OpenAPI logs"
|
|
|
|
namespace_id = fields.Many2one("openapi.namespace", "Integration")
|
|
request = fields.Char("Request")
|
|
request_data = fields.Text("Request Data")
|
|
response_data = fields.Text("Response Data")
|
|
# create_uid -- auto field
|
|
# create_date -- auto field
|