├── CHANGELOG.md ├── LICENSE └── README.md /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # openapi-fetch 2 | 3 | ## 0.2.0 4 | 5 | ### Minor Changes 6 | 7 | - 97c8757: Add custom fetch option (#51). Thanks, [@hd-o](https://github.com/hd-o)! 8 | 9 | ## 0.1.4 10 | 11 | ### Patch Changes 12 | 13 | - 63ebe48: Fix request body type when optional (#48) 14 | 15 | ## 0.1.3 16 | 17 | ### Patch Changes 18 | 19 | - 8c01480: Fix querySerializer signature 20 | 21 | ## 0.1.2 22 | 23 | ### Patch Changes 24 | 25 | - e730cd8: Fix post() and options() types 26 | 27 | ## 0.1.1 28 | 29 | ### Patch Changes 30 | 31 | - 5d1fb7d: Fix bad HTTP method lookup causing polymorphsim 32 | 33 | ## 0.1.0 34 | 35 | ### Minor Changes 36 | 37 | - f878cd3: Add querySerializer 38 | 39 | ### Patch Changes 40 | 41 | - 22197a1: Add missing type defs for minified build 42 | - ff3174a: Fix type inference bugs 43 | - 4ce3828: Skip parsing JSON for empty responses (#23) 44 | - ff3ae1b: Skip parsing JSON for 204 responses (#28) 45 | 46 | ## 0.0.8 47 | 48 | ### Patch Changes 49 | 50 | - 8e7cb46: Fix TypeScript lib error, simplify generated types 51 | 52 | ## 0.0.7 53 | 54 | ### Patch Changes 55 | 56 | - fce1546: Support "application/json;charset=utf-8" content types (#15). Thanks, [@shinzui](https://github.com/shinzui)! 57 | - 0899e0e: Add minified build (#18) 58 | 59 | ## 0.0.6 60 | 61 | ### Patch Changes 62 | 63 | - 27c149c: Fix data, error sometimes returning undefined 64 | 65 | ## 0.0.5 66 | 67 | ### Patch Changes 68 | 69 | - c818e65: Export BaseParams shared type (#8) 70 | 71 | ## 0.0.4 72 | 73 | ### Patch Changes 74 | 75 | - ce99563: Fix optional requestBody in path 76 | 77 | ## 0.0.3 78 | 79 | ### Patch Changes 80 | 81 | - b69cb51: Autocomplete URLs by path ([#2](https://github.com/drwpow/openapi-fetch/pull/2)). Thanks, [@mitchell-merry](https://github.com/mitchell-merry)! 82 | 83 | ## 0.0.2 84 | 85 | ### Patch Changes 86 | 87 | - 5a47464: Fix module entry 88 | 89 | ## 0.0.1 90 | 91 | ### Patch Changes 92 | 93 | - 55d7013: Encode path params 94 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Drew Powers 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🎾 openapi-fetch 2 | 3 | ### 🚚 This repo has moved! 4 | 5 | It has been merged with [openapi-typescript](https://github.com/drwpow/openapi-typescript). Please submit issues and code there. 6 | 7 | - 🖥️ [Code](https://github.com/drwpow/openapi-typescript/tree/main/packages/openapi-fetch) 8 | - 📖 [Docs](https://openapi-ts.pages.dev) 9 | --------------------------------------------------------------------------------