From 06ad52b9334e35d6c906130ea0eb27a3c45c8b08 Mon Sep 17 00:00:00 2001 From: Ashita Prasad Date: Sun, 12 Jan 2025 16:39:40 +0530 Subject: [PATCH] Update consts.dart --- packages/apidash_core/lib/consts.dart | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/apidash_core/lib/consts.dart b/packages/apidash_core/lib/consts.dart index 1ef6b0dd..c3ac388c 100644 --- a/packages/apidash_core/lib/consts.dart +++ b/packages/apidash_core/lib/consts.dart @@ -1,11 +1,12 @@ import 'dart:convert'; enum APIType { - rest("HTTP"), - graphql("GraphQL"); + rest("HTTP", "HTTP"), + graphql("GraphQL", "GQL"); - const APIType(this.label); + const APIType(this.label, this.abbr); final String label; + final String abbr; } enum HTTPVerb {