OpenAPI-Qraft / openapi-qraft

Generate a type-safe TanStack Query React ✨ client from your OpenAPI document
https://openapi-qraft.github.io/openapi-qraft/
MIT License
31 stars 3 forks source link

feat: replace literal paths usage with URL instances #57

Closed radist2s closed 5 months ago

radist2s commented 5 months ago

This PR replaces string paths with URL objects to improve path normalization and encoding, ensuring greater security and consistency across the application. Using URL objects also simplifies handling relative and absolute paths and enhances overall code maintainability.

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: 878c00218f27f19d841833bd6b95e9355d303b3d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------- | ----- | | @openapi-qraft/cli | Patch | | @openapi-qraft/react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR