Commit 08c7bde
feat: upgrading us to upstream (#108)
* Total Overhaul (but with all the same fixtures!) (#248)
see Kong#248 and the commits therein for more context. Essentially:
- the original client fixtures were unchanged, which hopefully means the
- all source code is now in strict mode TypeScript
- tests are now all in jest
- the file structure was reorganized so that everything for a particular client is in one place
- the CLI is updated and now using yargs
- all dependencies were updated and some (i.e. `format.utils`) were able to be removed entirely
- more work left to do (including CI with GitHub Actions, for example), but this is a start
* fix: case where if `postData.params` is missing some targets crash (#258)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: compatibility issues on node 14 with `Object.hasOwn()` (#252)
* fix: typo in the httpie `style` option not being correctly applied (#254)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: axios targets not sending `x-www-form-urlencoded` properly (#255)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* feat: addition of a PHP target for Guzzle (#253)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Add Github Build Workflow (#250) (#251)
* Add Github Build Workflow (#250)
* Edit job name
* Replace install with ci on GH workflow
* Add matrix with major node versions (14, 16, 18)
* Disable fail-fast
* Remove node v14 from build GH action
* feat: native upload support in python `requests` snippets (#259)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: `multipart/form-data` header issues with node/js fetch targets (#257)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: headers not being properly applied to R httr snippets (#263)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* Fix build workflow dispatch rules (#265)
* Chore: Remove travis links (#266)
* Remove travis links
* Update README.md
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: issue where query strings in R wouldn't be properly concatenated (#269)
* fix: issue where query strings in R wouldn't be properly concatenated
* adds (and respects) indent options to httr, plus double looping fix
now, indent is respected, and also avoiding running Object.keys twice per run since we can just run it once with .entries
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* add header namesspace to prevent header errors (#247)
* add header namesspace to prevent header errors
* update fixtures
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: stop implicitly coercing warning in Swift snippet generator (#195)
* swift/nsurlsession adds `as Any` to print for error
* adds OVERWRITE_EVERYTHING to ease fixture snapshot resetting
* updates fixtures
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: clj-http handling of literal null JSON bodies (#283)
Co-authored-by: Sergey Zakharchenko <szakharchenko@digital-loggers.com>
* fix: prevent crash in Swift/Objc with checking length of input body post params (#192)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: cUrl target should encode x-www-form-urlencoded post data params (#198)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
* fix: linting issues
* fix: reverting package-lock changes
* chore: removing unused fixtures
* fix: removing unnecessary typing
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: Davis Martin <davis.martin@procore.com>
Co-authored-by: iraj taghlidi <785830+irajtaghlidi@users.noreply.github.com>
Co-authored-by: Sergey Zakharchenko <szakharchenko@digital-loggers.com>
Co-authored-by: Julien Giovaresco <dev@giovaresco.fr>1 parent df6d56d commit 08c7bde
File tree
79 files changed
+249
-158
lines changed- src
- fixtures
- helpers
- targets
- clojure/clj_http
- fixtures
- csharp
- httpclient
- fixtures
- restsharp
- javascript
- axios
- fetch
- jquery
- xhr
- node
- axios
- fetch
- request
- unirest
- objc/nsurlsession
- php
- curl
- guzzle
- http2
- powershell
- python/requests
- r/httr
- fixtures
- shell
- curl
- fixtures
- httpie
- swift/nsurlsession
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
79 files changed
+249
-158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
39 | 53 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
43 | 57 | | |
44 | | - | |
| 58 | + | |
45 | 59 | | |
46 | | - | |
| 60 | + | |
47 | 61 | | |
48 | 62 | | |
49 | 63 | | |
| |||
146 | 160 | | |
147 | 161 | | |
148 | 162 | | |
149 | | - | |
| 163 | + | |
150 | 164 | | |
151 | 165 | | |
152 | 166 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
49 | 48 | | |
50 | 49 | | |
51 | 50 | | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments