-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: sort routes by path before writing the output JSON
* Modify `convertRoutesToOpenAPI` function in `packages/openapi-generator/src/openapi.ts` to sort routes by path before constructing the `paths` object. * Add test case in `packages/openapi-generator/test/openapi/base.test.ts` to verify routes are sorted by path in the output JSON.
- Loading branch information
1 parent
65ded53
commit 821537e
Showing
2 changed files
with
147 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters