Skip to content

Commit

Permalink
Add typescript generator
Browse files Browse the repository at this point in the history
  • Loading branch information
amckinney committed May 24, 2024
1 parent 16a4da6 commit f2c5034
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
1 change: 1 addition & 0 deletions fern/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ navigation:
- api: API Reference
snippets:
python: ssoready
typescript: ssoready

colors:
accentPrimary: '#6366F1'
Expand Down
37 changes: 36 additions & 1 deletion fern/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,31 @@ groups:
# token: ${ PYPI_TOKEN }
smart-casing: true
github:
# TODO: After the repository has been moved, edit the organization name.
repository: fern-demo/ssoready-python
mode: pull-request

ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
version: 0.19.0
# TODO: When you're ready to publish your SDK to npm, make an npm account, set the
# NPM_TOKEN secret in this repository, wire it up in CI, and uncomment the following block:
# output:
# location: npm
# package-name: ssoready
# token: ${NPM_TOKEN}
github:
# TODO: After the repository has been moved, edit the organization name.
repository: fern-demo/ssoready-typescript
mode: pull-request
config:
namespaceExport: SSOReady
allowCustomFetcher: true
skipResponseValidation: true
includeApiReference: true
smart-casing: true

local:
generators:
- name: fernapi/fern-python-sdk
Expand All @@ -28,4 +51,16 @@ groups:
package_name: ssoready
output:
location: local-file-system
path: ../generated/ssoready-python
path: ../generated/ssoready-python
- name: fernapi/fern-typescript-node-sdk
version: 0.19.0
config:
namespaceExport: SSOReady
allowCustomFetcher: true
skipResponseValidation: true
includeApiReference: true
outputSourceFiles: true
smart-casing: true
output:
location: local-file-system
path: ../generated/ssoready-typescript

0 comments on commit f2c5034

Please sign in to comment.