Skip to content

API: constants, annotate member vars, relax API pattern, remove junk #45

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

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

Conversation

jagerman
Copy link
Member

  • This adds support for "Constant." in an API description to mark a constant, but also auto-detects constants so that it only needs to be explicit in weird/complex cases.

  • Fixes a couple instances where member variables were not properly marked as such.

  • Relaxes the regex for matching an operator, so that things like base/ConfigBase::DictFieldProxy::operator=(std::span<const unsigned char>) should be accepted now.

  • This also removes a bunch of junk around example JSON input/outputs and API fetching that was a relic of this script being originally used for storage server RPC documentation.

(Closes #44 )

- This adds support for "Constant." in an API description to mark a
  constant, but also auto-detects constants so that it only needs to be
  explicit in weird/complex cases.

- Fixes a couple instances where member variables were not properly
  marked as such.

- Relaxes the regex for matching an operator, so that things like
  `base/ConfigBase::DictFieldProxy::operator=(std::span<const unsigned
  char>)` should be accepted now.

- This also removes a bunch of junk around example JSON input/outputs
  and API fetching that was a relic of this script being originally used
  for storage server RPC documentation.
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.

1 participant