Skip to content

Commit

Permalink
Merge pull request #2 from Paella-Labs/fern-support/fix-auth
Browse files Browse the repository at this point in the history
(fix): configur auth for `clientSecret` and `apiKey`
  • Loading branch information
toni-paellero authored Aug 1, 2024
2 parents 54562a1 + 6ecb189 commit 955a532
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
12 changes: 12 additions & 0 deletions apis/AdminAPIsOverrides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
components:
securitySchemes:
apiKey:
x-fern-header:
name: apiKey
env: CROSSMINT_API_KEY
type: optional<string>
x-fern-global-headers:
- header: Authorization
name: clientSecret
type: optional<string>
env: CROSSMINT_CLIENT_SECRET
4 changes: 4 additions & 0 deletions apis/HeadlessAPIsOverrides.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
paths:
/2022-06-09/orders/{orderId}:
patch:
security: null
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "crossmint",
"version": "0.36.0"
"version": "0.37.0"
}
8 changes: 5 additions & 3 deletions fern/generators.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
api:
- ../apis/AdminAPIs.yaml
- ../apis/HeadlessAPIs.yaml
- path: ../apis/AdminAPIs.yaml
overrides: ../apis/AdminAPIsOverrides.yml
- path: ../apis/HeadlessAPIs.yaml
overrides: ../apis/HeadlessAPIsOverrides.yml
- ../apis/MintingAPIs.yaml
- ../apis/PaymentsAPIs.yaml
- ../apis/VerifiableCredentialsAPIs.yaml
Expand All @@ -9,7 +11,7 @@ groups:
ts-sdk:
generators:
- name: fernapi/fern-typescript-node-sdk
version: 0.36.4
version: 0.36.6
output:
location: npm
package-name: "crossmint"
Expand Down

0 comments on commit 955a532

Please sign in to comment.