Skip to content

add basic openapi documentation generation #28

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

Draft
wants to merge 7 commits into
base: MOODLE_402_STABLE
Choose a base branch
from

Conversation

p8nut
Copy link

@p8nut p8nut commented Jun 6, 2024

a very rough implementation of an openapi renderer.
This is my first contribution on a moodle plugin,
I am open to all comments and improvements that could help this feature to be merged in this project.

@p8nut p8nut marked this pull request as draft June 6, 2024 12:26
@dmitriim
Copy link
Member

dmitriim commented Jun 27, 2024

Hi @p8nut! Before submitting a patch would be good if you could open a new issue and explain a problem that you are trying to solve with your code. That would give a reviewer a bit more context and save everyone's time. Also it would give others (who may struggle with the same problem) some indication that it's being fixed. Thanks!

…; Response must have at least one 4XX code; create schema for parameters and response for better type generation using openapi generator; fix default parameter do not display when string is empty; fix parameters where all required; implement some more type validation.
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