sbt-idp/cope2n-api/fwd_api/request/HealcheckSerializer.py

5 lines
213 B
Python
Raw Permalink Normal View History

2023-11-30 11:19:06 +00:00
from rest_framework import serializers
class HealthCheckSerializer(serializers.Serializer):
status = serializers.CharField(max_length=100)
message = serializers.CharField(max_length=200, allow_blank=True)