Skip to content

Commit

Permalink
Fix Swaggers API docs
Browse files Browse the repository at this point in the history
Signed-off-by: Yuanmao Zhu <yuanmao@ualberta.ca>
  • Loading branch information
zhuyuanmao committed Nov 4, 2023
1 parent faca4b9 commit e5354a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api-engine/api/routes/node/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,10 @@ class NodeOperationSerializer(serializers.Serializer):
class NodeConfigFileSerializer(serializers.ModelSerializer):
files = serializers.FileField()

class Meta:
model = Node
fields = ("files",)

# class NodeFileCreateSerializer(serializers.ModelSerializer):
# def to_form_paras(self):
# custom_paras = to_form_paras(self)
Expand Down

0 comments on commit e5354a8

Please sign in to comment.