-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
…ts` response structure (#2246) * feat(bulk-import-backend)!: include pagination info in the `GET /imports` response structure Change the response structure of 'GET /imports' in the OpenAPI definition Regenerate type defs and API docs off openapi.yaml spec Implement the findAllImports API accordingly Rename the pagePerIntegration and sizePerIntegration query params into page and size This makes it more clear, and also because the number of imports does not depend on the number of GH integrations Fix and update tests Reduce code duplication issues reported by SonarCloud * Do not break the API as a general rule of thumb Instead, this allows consumers to specify an 'api-version' field in the request header (either undefined, `v1` or `v2`, default being `v1` as before). When `v2` is specified, the `GET /imports` response structure is changed accordingly. * Mark the `*PerIntegration` query params as deprecated in the OpenAPI spec Co-authored-by: Dominika Zemanovicova <36102317+dzemanov@users.noreply.github.com> Signed-off-by: Armel Soro <asoro@redhat.com> * Fix parameters descriptions and API version changelog in OpenAPI spec Signed-off-by: Armel Soro <asoro@redhat.com> --------- Signed-off-by: Armel Soro <asoro@redhat.com> Co-authored-by: Dominika Zemanovicova <36102317+dzemanov@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.