-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use stable 2.3.1 swagger codgen #179
Conversation
@@ -173,7 +173,7 @@ export class ContainerComponent extends Entry { | |||
|
|||
// Only get published tool if the URI is for a specific tool (/containers/quay.io%2FA2%2Fb3) | |||
// as opposed to just /tools or /docs etc. | |||
this.containersService.getPublishedContainerByToolPath(this.title, this._toolType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was an explanation discovered for this disappearing parameter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what I think happened.
- We were originally not using the swagger generated methods and we had our own method with an extra parameter to differentiate between tool/workflow.
- We swapped the methods to the swagger-generated ones but didn't remove that extra parameter during the change. The swagger-generated methods so happen to allow an extra parameter with type 'any'. so it still worked but didn't really do anything significant with that extra parameter.
With the new 2.3.1 swagger generated methods, it appears they removed this 'any' type parameter so it no longer works.
@@ -152,7 +152,7 @@ export class WorkflowComponent extends Entry { | |||
|
|||
// Only get published workflow if the URI is for a specific workflow (/containers/quay.io%2FA2%2Fb3) | |||
// as opposed to just /tools or /docs etc. | |||
this.workflowsService.getPublishedWorkflowByPath(this.title, this._toolType) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
Upgrade to use the stable 2.3.1 swagger codegen