forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it easier to specify triggers for Zapier (OpenAPITools#19645)
* chore: add triggers * update samples --------- Co-authored-by: Stephen (Alex) Wallen <[email protected]>
- Loading branch information
1 parent
f3ee2e4
commit c9dcf23
Showing
6 changed files
with
32 additions
and
6 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
3 changes: 2 additions & 1 deletion
3
modules/openapi-generator/src/main/resources/zapier/index.mustache
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
const authentication = require('./authentication'); | ||
const { searchActions, createActions } = require('./operations/actions'); | ||
const { searchActions, createActions, triggers } = require('./operations/actions'); | ||
|
||
module.exports = { | ||
version: require('./package.json').version, | ||
platformVersion: require('zapier-platform-core').version, | ||
authentication: authentication, | ||
searches: searchActions(), | ||
creates: createActions(), | ||
triggers: triggers(), | ||
}; |
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
const authentication = require('./authentication'); | ||
const { searchActions, createActions } = require('./operations/actions'); | ||
const { searchActions, createActions, triggers } = require('./operations/actions'); | ||
|
||
module.exports = { | ||
version: require('./package.json').version, | ||
platformVersion: require('zapier-platform-core').version, | ||
authentication: authentication, | ||
searches: searchActions(), | ||
creates: createActions(), | ||
triggers: triggers(), | ||
}; |
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