-
Notifications
You must be signed in to change notification settings - Fork 8
[Draft] OpenAPI 3.0 spec documentation of endpoints #3
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
base: main
Are you sure you want to change the base?
Conversation
… as example, fixed a couple typos
…r for all endpoints with optional id, fixed small diferences with API routes.
…mprove understanding
…le with Docusaurus core beta15 and up. By strictly pinning all docusaurus packages to v14, this can be resolved. This issue is also present in main branch, this commit will fix that too after merge.
…t it all contains
Cellaryllis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good! I appreciate the effort. Just a few corrections on what a member/systemid actually is formatted like and usage American English vs British English
SimplyPluralApi.yml
Outdated
| properties: | ||
| uid: | ||
| type: string | ||
| description: uid of the system this member belongs to (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as above, format is Firebase User ID
SimplyPluralApi.yml
Outdated
| type: string | ||
| required: true | ||
| description: String Id of the system | ||
| description: String Id of the system (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
| text/plain: | ||
| schema: | ||
| type: string | ||
| description: String Id of the newly added member (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
| schema: | ||
| type: string | ||
| required: true | ||
| description: String Id of the member (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
| type: string | ||
| required: true | ||
| description: String Id of the system | ||
| description: String Id of the member (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
| type: string | ||
| required: true | ||
| description: String Id of the group | ||
| description: String Id of the system (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
| description: String Id of the system | ||
| get: | ||
| description: 'Get a group by Id' | ||
| description: String Id of the group (12 byte BSON ObjectId as string) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
This is a repost of #1
This PR is not yet ready for merging. Current progress of endpoint documentation, this will show ongoing documentation. Several more commits will be added while this stays in draft state.
While this PR is still not ready for merging, the live version of the documentation has been running this branch since April 2022. When the API went public, old branches/forks of the private repositories were deleted, which caused this branch to go missing as well. I've pushed our local changes from the old fork/branch, and manually added the last commit that we didn't have local from the previous PR (9cb6cb2)