mirror of
https://github.com/foss42/apidash.git
synced 2025-12-01 10:17:47 +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(
|
||||
id: getNewUuid(),
|
||||
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,
|
||||
timestamp: DateTime.now(),
|
||||
messageType: ChatMessageType.importOpenApi,
|
||||
|
||||
Reference in New Issue
Block a user