Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
94087ec
fix: problem with default http request headers in axios client
js2me Aug 16, 2022
edf5044
feat: improve type declaration for inline types; fix: nullable option…
js2me Aug 17, 2022
73c6eec
fix: problem with sortTypes option; docs: update CHANGELOG
js2me Aug 17, 2022
498b75f
Merge remote-tracking branch 'origin/master' into next
js2me Aug 17, 2022
619e738
docs: update README linked with custom templates
js2me Aug 17, 2022
13221be
feat: separate data-contracts.ejs onto 4 pieces (enum, interface, typ…
js2me Aug 17, 2022
804e6e9
fix createFormData code duplication (#392)
ApacheEx Aug 18, 2022
09494a2
chore: add title for DC in jsdoc; internal: add templates for future …
js2me Aug 29, 2022
ad3ff91
Merge remote-tracking branch 'origin/next' into next
js2me Aug 29, 2022
f347040
Merge remote-tracking branch 'origin/master' into next
js2me Aug 29, 2022
80236cb
fix: problem with host.fileExists is not a function
js2me Oct 15, 2022
1f76852
fix: order of headers in fetch http client
js2me Oct 15, 2022
ee581c3
fix: max file size for axios (fetching swagger file)
js2me Oct 15, 2022
48c10c9
fix: fs.rmSync usage
js2me Oct 15, 2022
e89acaa
fix: getNewLine, readFile in LanguageServicehost (ts)
js2me Oct 15, 2022
69f7004
docs: add docs for unwrapResponseData flag
js2me Oct 15, 2022
2940475
fix: problems with nested required properties based with upper requir…
js2me Oct 15, 2022
4f51404
chore: refresh test generated schemas
js2me Oct 15, 2022
7e4b32b
bump: up version to 10.0.3, update CHANGELOG
js2me Oct 15, 2022
21ab2a4
docs: update changelog
js2me Oct 15, 2022
52bc5bf
test: add module assertions in spec tests
js2me Oct 16, 2022
b8cefb8
chore: remove useless trailing whitespaces which make test edit harde…
qboot Oct 21, 2022
b26f388
fix: replace CRLF -> LF (unix support)
js2me Oct 21, 2022
acfd9b5
Merge remote-tracking branch 'origin/next' into next
js2me Oct 21, 2022
bd0783c
fix: replace CRLF -> LF (unix support) (test schemas)
js2me Oct 21, 2022
969d8c9
docs: add missing addReadonly property
js2me Oct 21, 2022
a814a6d
chore: add logging (project version, node version, npm version)
js2me Oct 21, 2022
2e22d4e
Merge remote-tracking branch 'origin/master' into next
js2me Oct 21, 2022
4ed8392
bump: up version to 10.0.3; docs: update CHANGELOG
js2me Oct 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# next release
# next release

# 10.0.3
fix: CRLF -> LF (#423)
docs: add docs for addReadonly nodeJS api flag (#425)
chore: remove useless trailing whitespaces which make test edit harder (thanks @qboot, #422)
internal: add test snapshots (git diff + nodejs assertions)
chore: add logging (project version, node version, npm version)

# 10.0.2

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ generateApi({
enumNamesAsValues: false,
moduleNameFirstTag: false,
generateUnionEnums: false,
addReadonly: false,
extraTemplates: [],
hooks: {
onCreateComponent: (component) => {},
Expand Down
4 changes: 4 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ interface GenerateApiParamsBase {
* authorization token
*/
authorizationToken?: string;
/**
* generate readonly properties (default: false)
*/
addReadonly?: boolean;
}

interface GenerateApiParamsFromPath extends GenerateApiParamsBase {
Expand Down
Loading