-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only enable fqn in openapi when needed, regenerate the api types
- Loading branch information
1 parent
b8d429b
commit 859bb9e
Showing
4 changed files
with
3,145 additions
and
5,174 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
The index.ts in this folder contains all necessary types for the backend communication, generated from an openapi spec. | ||
|
||
To generate a new version of the types: | ||
* first enabled fully qualified names in the backend (control + f "springdoc" -> comment in) | ||
* then save http://localhost:8080/v3/api-docs/combined to `api.json` | ||
* format with prettier | ||
* run `node createApi.js` to generate the types | ||
* format index.ts with prettier |
Oops, something went wrong.