|
1 | 1 | openapitor_exe = kittycad.rs/target/debug/openapitor |
2 | 2 |
|
3 | | -.PHONY: commonroom |
4 | | -commonroom: openapitor |
5 | | - pwd |
6 | | - $(openapitor_exe) \ |
7 | | - --input specs/commonroom.json \ |
8 | | - --target-version 0.1.0 \ |
9 | | - --output ./commonroom \ |
10 | | - --name commonroom-api \ |
11 | | - --description "A fully generated & opinionated API client for the Common Room API." \ |
12 | | - --request-timeout-seconds 60 \ |
13 | | - --base-url "https://api.commonroom.io/community/v1" $(EXTRA_ARGS) |
14 | | - |
15 | | -.PHONY: gusto |
16 | | -gusto: openapitor |
17 | | - $(openapitor_exe) \ |
18 | | - --input specs/gusto.v1.yaml \ |
19 | | - --target-version 2.1.17 \ |
20 | | - --output ./gusto \ |
21 | | - --name gusto-api \ |
22 | | - --base-url https://api.gusto.com \ |
23 | | - --description "A fully generated & opinionated API client for the Gusto API." \ |
24 | | - --token-endpoint "https://api.gusto.com/oauth/token" \ |
25 | | - --request-timeout-seconds 60 \ |
26 | | - --user-consent-endpoint "https://api.gusto.com/oauth/authorize" |
27 | | - |
28 | 3 | # root spec for hubspot api: |
29 | 4 | # https://api.hubspot.com/api-catalog-public/v1/apis |
30 | 5 | # We've just plucked crm -> contacts api spec below. |
@@ -71,19 +46,6 @@ hubspot-users: openapitor |
71 | 46 | --description "A fully generated & opinionated API client for the Hubspot Users API." \ |
72 | 47 | --request-timeout-seconds 60 \ |
73 | 48 |
|
74 | | -# Spec is from: npx swagger2openapi --outfile ./specs/mailchimp.json --patch https://api.mailchimp.com/schema/3.0/Swagger.json?expand |
75 | | -.PHONY: mailchimp |
76 | | -mailchimp: openapitor |
77 | | - $(openapitor_exe) \ |
78 | | - --input specs/mailchimp.json \ |
79 | | - --target-version 0.0.2 \ |
80 | | - --output ./mailchimp \ |
81 | | - --name mailchimp-api \ |
82 | | - --base-url https://us1.api.mailchimp.com \ |
83 | | - --description "A fully generated & opinionated API client for the MailChimp API." \ |
84 | | - --token-endpoint "https://login.mailchimp.com/oauth2/token" \ |
85 | | - --request-timeout-seconds 60 \ |
86 | | - --user-consent-endpoint "https://login.mailchimp.com/oauth2/authorize" |
87 | 49 |
|
88 | 50 | .PHONY: ramp |
89 | 51 | ramp: openapitor |
@@ -156,8 +118,11 @@ openapitor: |
156 | 118 | .PHONY: all |
157 | 119 | all: |
158 | 120 | make openapitor |
159 | | - make commonroom |
160 | | - make gusto |
161 | 121 | make ramp |
162 | 122 | make remote |
163 | 123 | make twilio |
| 124 | + make vercel |
| 125 | + make rippling |
| 126 | + make hubspot-contacts |
| 127 | + make hubspot-tickets |
| 128 | + make hubspot-users |
0 commit comments