mirror of
https://github.com/foss42/apidash.git
synced 2025-05-23 17:26:45 +08:00
added class for faraday codegen
This commit is contained in:
14
lib/codegen/ruby/faraday.dart
Normal file
14
lib/codegen/ruby/faraday.dart
Normal file
@ -0,0 +1,14 @@
|
||||
import 'package:apidash/consts.dart';
|
||||
import 'package:jinja/jinja.dart' as jj;
|
||||
import 'package:apidash/utils/utils.dart' show getValidRequestUri;
|
||||
import 'package:apidash/utils/http_utils.dart' show stripUriParams;
|
||||
|
||||
import 'package:apidash/models/models.dart' show RequestModel;
|
||||
|
||||
// Note that delete is a special case in Faraday as API Dash supports request
|
||||
// body inside delete reqest, but Faraday does not. Hence we need to manually
|
||||
// setup request body for delete request and add that to request.
|
||||
//
|
||||
// Refer https://lostisland.github.io/faraday/#/getting-started/quick-start?id=get-head-delete-trace
|
||||
class RubyFaradayCodeGen {
|
||||
}
|
Reference in New Issue
Block a user