-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading from Swagger to OpenAPI v3 offers numerous benefits, including enhanced specification features, better support for modern use cases, improved developer experience, access to a richer ecosystem and tooling, future-proofing our API specifications, and ensuring compliance and interoperability. This upgrade is a breaking change because it requires using a different code generator, resulting in changes to the generated model. Users of the Go client library will need to make minor adjustments to their code. Signed-off-by: Michael Adler <[email protected]>
- Loading branch information
1 parent
b66e132
commit 3cefeed
Showing
328 changed files
with
10,459 additions
and
35,442 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
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 |
---|---|---|
|
@@ -8,35 +8,35 @@ package api | |
* Author: Michael Adler <[email protected]> | ||
*/ | ||
|
||
import "github.com/siemens/wfx/generated/model" | ||
import "github.com/siemens/wfx/generated/api" | ||
|
||
/* these are defined in the swagger yaml */ | ||
|
||
var InvalidRequest = model.Error{ | ||
var InvalidRequest = api.Error{ | ||
Code: "wfx.invalidRequest", | ||
Message: "The request was invalid and/or could not be completed by the storage", | ||
Logref: "96a37ea1f7d205ffbfa12334c6812727", | ||
} | ||
|
||
var JobNotFound = model.Error{ | ||
var JobNotFound = api.Error{ | ||
Code: "wfx.jobNotFound", | ||
Logref: "11cc67762090e15b79a1387eca65ba65", | ||
Message: "Job ID was not found", | ||
} | ||
|
||
var WorkflowNotFound = model.Error{ | ||
var WorkflowNotFound = api.Error{ | ||
Code: "wfx.workflowNotFound", | ||
Logref: "c452719774086b6e803bb8f6ecea9899", | ||
Message: "Workflow not found for given name", | ||
} | ||
|
||
var WorkflowNotUnique = model.Error{ | ||
var WorkflowNotUnique = api.Error{ | ||
Code: "wfx.workflowNotUnique", | ||
Logref: "e1ee1f2aea859b9dd34579610e386da6", | ||
Message: "Workflow with name already exists", | ||
} | ||
|
||
var WorkflowInvalid = model.Error{ | ||
var WorkflowInvalid = api.Error{ | ||
Code: "wfx.workflowInvalid", | ||
Logref: "18f57adc70dd79c7fb4f1246be8a6e04", | ||
Message: "Workflow validation failed", | ||
|
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
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.