mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
fix: update openapi example url in chat message
This commit is contained in:
@@ -181,7 +181,7 @@ class ChatViewmodel extends StateNotifier<ChatState> {
|
|||||||
ChatMessage(
|
ChatMessage(
|
||||||
id: getNewUuid(),
|
id: getNewUuid(),
|
||||||
content:
|
content:
|
||||||
'{"explnation":"Upload your OpenAPI (JSON or YAML) specification, paste the full spec text, or paste a URL to a spec (e.g., https://api.example.com/openapi.json).","actions":[${jsonEncode(uploadAction.toJson())}]}',
|
'{"explnation":"Upload your OpenAPI (JSON or YAML) specification, paste the full spec text, or paste a URL to a spec (e.g., https://api.apidash.dev/openapi.json).","actions":[${jsonEncode(uploadAction.toJson())}]}',
|
||||||
role: MessageRole.system,
|
role: MessageRole.system,
|
||||||
timestamp: DateTime.now(),
|
timestamp: DateTime.now(),
|
||||||
messageType: ChatMessageType.importOpenApi,
|
messageType: ChatMessageType.importOpenApi,
|
||||||
|
|||||||
Reference in New Issue
Block a user