mirror of
https://github.com/foss42/apidash.git
synced 2025-05-20 07:46:32 +08:00
refactor
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import 'package:apidash_core/apidash_core.dart';
|
||||
import 'package:curl_converter/curl_converter.dart';
|
||||
import 'package:curl_parser/curl_parser.dart';
|
||||
|
||||
class CurlFileImport {
|
||||
HttpRequestModel? getHttpRequestModel(String content) {
|
||||
|
@ -28,7 +28,7 @@ void main() {
|
||||
}
|
||||
```
|
||||
|
||||
Check out [test](https://github.com/foss42/curl_converter/tree/main/test/curl_parser_test.dart) for more examples.
|
||||
Check out [test](https://github.com/foss42/apidash/blob/main/packages/curl_parser/tree/main/test/curl_parser_test.dart) for more examples.
|
||||
|
||||
## Features
|
||||
|
||||
|
12
pubspec.lock
12
pubspec.lock
@ -300,15 +300,13 @@ packages:
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "6.0.0"
|
||||
curl_converter:
|
||||
curl_parser:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "726e8cd04aeb326211af27f75920be5b21c90bb4"
|
||||
resolved-ref: "726e8cd04aeb326211af27f75920be5b21c90bb4"
|
||||
url: "https://github.com/foss42/curl_converter.git"
|
||||
source: git
|
||||
version: "1.0.4"
|
||||
path: "packages/curl_parser"
|
||||
relative: true
|
||||
source: path
|
||||
version: "0.1.0"
|
||||
dart_style:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -16,10 +16,8 @@ dependencies:
|
||||
path: packages/apidash_design_system
|
||||
code_builder: ^4.10.0
|
||||
csv: ^6.0.0
|
||||
curl_converter:
|
||||
git:
|
||||
url: https://github.com/foss42/curl_converter.git
|
||||
ref: 726e8cd04aeb326211af27f75920be5b21c90bb4
|
||||
curl_parser:
|
||||
path: packages/curl_parser
|
||||
data_table_2: ^2.5.15
|
||||
dart_style: ^2.3.7
|
||||
desktop_drop: ^0.4.4
|
||||
|
Reference in New Issue
Block a user