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

Centralization of some OpenAPI docs #7386

Merged

Conversation

ehuelsmann
Copy link
Member

And at the same time add more documentation (instead of tripple dots)

@ehuelsmann ehuelsmann requested review from ylavoie and neilt May 6, 2023 22:13
@ehuelsmann ehuelsmann enabled auto-merge May 7, 2023 18:58
@ehuelsmann ehuelsmann removed the request for review from neilt May 7, 2023 18:59
@ehuelsmann ehuelsmann disabled auto-merge May 7, 2023 19:14
@ehuelsmann ehuelsmann enabled auto-merge (squash) May 7, 2023 19:15
ylavoie
ylavoie previously requested changes May 8, 2023
Copy link
Contributor

@ylavoie ylavoie left a comment

Choose a reason for hiding this comment

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

openapi & info sections in Invoices should be checked too.

lib/LedgerSMB/Routes/ERP/API/Languages.pm Show resolved Hide resolved
@ehuelsmann
Copy link
Member Author

openapi & info sections in Invoices should be checked too.

@ylavoie this one is actually intentional: Invoices isn't using the DSL keywords from the router to declare API entrypoints (yet). Which makes it different from the others in that it uses its own OpenAPI validator instead of the one from Router.pm. You're right, however, that this should be changed. I'll have a look at how difficult it is to change this.

@ehuelsmann ehuelsmann requested a review from ylavoie May 23, 2023 16:39
@ehuelsmann
Copy link
Member Author

@ylavoie i think I can fix https://github.com/ledgersmb/LedgerSMB/actions/runs/4913494760/jobs/8773795061?pr=7386#step:19:330 by overriding discount to be a float instead of a bigfloat. Or should we change the schema?

@ehuelsmann ehuelsmann force-pushed the cleanup/api-docs-deduplication branch 2 times, most recently from 0bae2ac to 4af7709 Compare June 1, 2023 19:52
@ehuelsmann ehuelsmann force-pushed the cleanup/api-docs-deduplication branch from 4af7709 to 7ff4d2e Compare June 1, 2023 20:11
@ehuelsmann ehuelsmann dismissed ylavoie’s stale review June 1, 2023 20:19

Requested change was left unchanged intentionally.

@ehuelsmann ehuelsmann merged commit fa6dd53 into ledgersmb:master Jun 1, 2023
@ehuelsmann ehuelsmann deleted the cleanup/api-docs-deduplication branch June 1, 2023 20:52
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.

2 participants