-
Notifications
You must be signed in to change notification settings - Fork 86
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
v3.1.8 VRPs - Java codegen results in missing headers and request body #51
Comments
matt-wills
added a commit
to OpenBankingToolkit/openbanking-aspsp
that referenced
this issue
Jun 8, 2021
- There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct. - I assume this is a mistake in the swagger spec and have created this issue: OpenBankingUK/read-write-api-specs#51 - As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingAPI) need adding. I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct. Issue: OpenBankingToolkit/openbanking-toolkit#36
matt-wills
added a commit
to OpenBankingToolkit/openbanking-aspsp
that referenced
this issue
Jun 8, 2021
- There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct. - I assume this is a mistake in the swagger spec and have created this issue: OpenBankingUK/read-write-api-specs#51 - As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingAPI) need adding. I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct. Issue: OpenBankingToolkit/openbanking-toolkit#36
matt-wills
added a commit
to OpenBankingToolkit/openbanking-aspsp
that referenced
this issue
Jun 8, 2021
- There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct. - I assume this is a mistake in the swagger spec and have created this issue: OpenBankingUK/read-write-api-specs#51 - As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingAPI) need adding. I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct. Issue: OpenBankingToolkit/openbanking-toolkit#36
hi matt, just generated using same plugin /domestic-vrps/:consentId/payment-details: Seems to work now. I'm also using v5.1 of the plugin so maybe that will solve the problem, |
BohoCode
pushed a commit
to OpenBankingToolkit/openbanking-aspsp
that referenced
this issue
Nov 26, 2021
- There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct. - I assume this is a mistake in the swagger spec and have created this issue: OpenBankingUK/read-write-api-specs#51 - As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingAPI) need adding. I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct. Issue: OpenBankingToolkit/openbanking-toolkit#36
BohoCode
pushed a commit
to OpenBankingToolkit/openbanking-aspsp
that referenced
this issue
Nov 26, 2021
- There are no request parameters in v3.1.8 of the VRP swagger spec, meaning the generated code did not have any request body objects or headers. I have added the request body objects manually, but they may not e correct. - I assume this is a mistake in the swagger spec and have created this issue: OpenBankingUK/read-write-api-specs#51 - As per other controllers in the Read/Write API, a number of annotations (e.g. @PreAuthorize and @OpenBankingAPI) need adding. I have inserted them in commented out sections, but certain things (e.g. the scopes) may not be correct. Issue: OpenBankingToolkit/openbanking-toolkit#36
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Up until now, I have generated the Java controllers and interfaces for all versions of the Read/Write API since v3.1.3, using the OpenAPI Maven plugin (
openapi-generator-maven-plugin
version 4.3.1). However, when generating the VRP controllers for v3.1.8, I don't seem to have any headers or request body objects in the generated code.The response definitions appear correct, but it looks like there are no request parameters in the Swagger spec. Does anyone know why this is?
The text was updated successfully, but these errors were encountered: