forked from syndesisio/syndesis
-
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.
feat(api): add
PUT /api/v1/apis/generator
When creating an integration from the OpenAPI document prior to saving the integration there is a need to modify the OpenAPI document and have the changes reflect in the integration. This adds a `PUT /api/v1/apis/generator` that returns HTTP status `202` and the updated integration when the provided OpenAPI document produces changes to the integration; and HTTP status `304` with no content when there are no changes to the integration. There's a side effect of storing the updated OpenAPI document and referencing it from the integration resources, if there was an update. Fixes syndesisio#5719
- Loading branch information
Showing
6 changed files
with
413 additions
and
290 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
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
Oops, something went wrong.