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

fix(apidoc): Make type parameter optional in apidoc as in description #15194

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

asmfreak
Copy link
Contributor

Fixes asmfreak/habitipy#25

Changes

This change is required for habitipy (a Python api client for Habitica). It parses the apidoc comments in Habitica code and makes and coding interface out of it. This change makes type query parameter optional not only in param's description, but also in apidoc code.


UUID: 1f740057-8e11-4ca3-a9b2-54886615dca6

@negue
Copy link
Member

negue commented Jun 14, 2024

Good catch, in the code below it is optional as well!

@SabreCat LGTM

@CuriousMagpie
Copy link
Member

This looks good to me; all it does is add a set of brackets in order to make type optional.

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

Successfully merging this pull request may close these issues.

Optional parameter not optional in habitipy
4 participants