summaryrefslogtreecommitdiffstats
path: root/lcm
diff options
context:
space:
mode:
Diffstat (limited to 'lcm')
-rw-r--r--lcm/lcm/nf/serializers/response.py24
1 files changed, 19 insertions, 5 deletions
diff --git a/lcm/lcm/nf/serializers/response.py b/lcm/lcm/nf/serializers/response.py
index 132788ac..886b2b6a 100644
--- a/lcm/lcm/nf/serializers/response.py
+++ b/lcm/lcm/nf/serializers/response.py
@@ -16,11 +16,25 @@ from rest_framework import serializers
class ProblemDetailsSerializer(serializers.Serializer):
- type = serializers.CharField(help_text="Type", required=False, allow_null=True)
- title = serializers.CharField(help_text="Title", required=False, allow_null=True)
- status = serializers.IntegerField(help_text="Status", required=True)
- detail = serializers.CharField(help_text="Detail", required=True, allow_null=True)
- instance = serializers.CharField(help_text="Instance", required=False, allow_null=True)
+ type = serializers.CharField(
+ help_text="Type",
+ required=False,
+ allow_null=True)
+ title = serializers.CharField(
+ help_text="Title",
+ required=False,
+ allow_null=True)
+ status = serializers.IntegerField(
+ help_text="Status",
+ required=True)
+ detail = serializers.CharField(
+ help_text="Detail",
+ required=True,
+ allow_null=True)
+ instance = serializers.CharField(
+ help_text="Instance",
+ required=False,
+ allow_null=True)
additional_details = serializers.ListField(
help_text="Any number of additional attributes, as defined in a " +
"specification or by an implementation.",