Skip to content
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

[14.0] [IMP] base_rest: support multiple types #415

Open
wants to merge 3 commits into
base: 14.0
Choose a base branch
from

Conversation

renda-dev
Copy link

@renda-dev renda-dev commented Feb 15, 2024

The main goal for this PR is to add multi-type support when generating swagger docs.

At the current state, even tho cerberus validator supports multi-type validation, swagger would raise an error without giving access to the api's docs.

To do so, I've also updated Swagger UI and OpenAPI to the LTS.

Depends on #417

@OCA-git-bot
Copy link
Contributor

Hi @lmignon,
some modules you are maintaining are being modified, check this out!

Copy link
Sponsor Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renda-dev Thank you for the improment. Can you fix the tests plz?

@renda-dev
Copy link
Author

@renda-dev Thank you for the improment. Can you fix the tests plz?

Greetings, base_rest's test have been fixed, while fastapi's tests are still broken, even tho that module has been left untouched.

Is it possible to keep going with this PR anyway? @lmignon

@aleuffre
Copy link

aleuffre commented Mar 8, 2024

It's my understanding that #417 is required for this PR's tests to pass, is that correct?

@renda-dev
Copy link
Author

It's my understanding that #417 is required for this PR's tests to pass, is that correct?

Yes it is. @aleuffre

@lmignon
Copy link
Sponsor Contributor

lmignon commented Mar 11, 2024

@renda-dev #417 is on its path to be merged. Once merged can you rebase your PR to make it 🟢

@renda-dev
Copy link
Author

@renda-dev #417 is on its path to be merged. Once merged can you rebase your PR to make it 🟢

Done, thanks! @lmignon

Copy link
Sponsor Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (Code review only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants