Skip to content

Commit 555bd24

Browse files
authored
chore: fix OpenAPI spec (baserow#4341)
1 parent 51a7cce commit 555bd24

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "bug",
3+
"message": "Fix OpenAPI spec for generate_table_ai_field_value",
4+
"issue_origin": "github",
5+
"issue_number": 4339,
6+
"domain": "database",
7+
"bullet_points": [],
8+
"created_at": "2025-11-26"
9+
}

premium/backend/src/baserow_premium/api/fields/views.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ class AsyncGenerateAIFieldValuesView(APIView):
7979
"dynamically constructed prompt configured in the field settings. "
8080
"\nThis is a **premium** feature."
8181
),
82-
request=None,
82+
request=GenerateAIFieldValueViewSerializer,
8383
responses={
84-
200: str,
84+
202: GenerateAIValuesJobType().response_serializer_class,
8585
400: get_error_schema(
8686
[
8787
"ERROR_GENERATIVE_AI_DOES_NOT_EXIST",

0 commit comments

Comments
 (0)