-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: generate clients from openapi (#778)
Demonstrate how to use the openapi spec to generate clients in most languages/frameworks. #### Migration notes None - [ ] The change comes with new or modified tests - [ ] Hard-to-understand functions have explanatory comments - [ ] End-user documentation is updated to reflect the change <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Documentation** - Updated REST API documentation URLs with placeholders for easier configuration. - Added information on generating and using OpenAPI clients, including TypeScript fetch client generation. - **Bug Fixes** - Corrected a regular expression in import handling to ensure accurate replacements. - **Chores** - Improved file writing by appending a newline character to JSON strings. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
1e3748b
commit 02d63c3
Showing
4 changed files
with
88 additions
and
8 deletions.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,5 +52,5 @@ Deno.writeTextFileSync( | |
}, | ||
null, | ||
2, | ||
), | ||
) + "\n", | ||
); |
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