feat: Add OpenAPI documentation for API endpoints#39
Conversation
Thank you for the pull request! ❤️The Scribe-Server team will do our best to address your contribution as soon as we can. If you're not already a member of our public Matrix community, please consider joining! We'd suggest that you use the Element client as well as Element X for a mobile app, and definitely join the |
Maintainer ChecklistThe following is a checklist for maintainers to make sure this process goes as well as possible. Feel free to address the points below yourself in further commits if you realize that actions are needed :) |
|
Hey @DeleMike 👋 I did the commands listed to make the docs and it's not working 🤔 Commands are: >> make docs
Generating API documentation...
swag is not installed. Please run 'make install-tools' first.
make: *** [docs] Error 1
>> go install github.com/swaggo/swag/cmd/swag@latest
# Succeeds
>> make docs
Generating API documentation...
swag is not installed. Please run 'make install-tools' first.
make: *** [docs] Error 1
>> make install-tools
# Succeeds
>> make docs
Generating API documentation...
swag is not installed. Please run 'make install-tools' first.
make: *** [docs] Error 1Note that there are some commits above that edit the markdown files to add in directions for generating the docs. Let's remember to update those with the necessary steps! |
|
Thanks for the review @andrewtavis! This is strange. I will check it out, and I will update the docs if necessary. |
…sers have installed go properly
|
Hi @andrewtavis and @axif0 can you please test this if it works. It is hard for me to reproduce the bug, so I tried to make it work by ensuring that we use the SYSTEM Go's path instead of making it relative. Looking forward to your reviews! |
|
Now I can make and run the routes -
A question is that don't we also need to remove unnecessary library like sqlc library from installing? @DeleMike ~ |
|
Thanks for the feedback 🚀🔥 Okay, I will remove unnecessary libraries. Thanks for pointing me towards that! |
|
Hi @andrewtavis and @axif0, I've updated the PR. |
andrewtavis
left a comment
There was a problem hiding this comment.
All's working great, @DeleMike! So amazing that the service is getting to a point where it's so well rounded! Really is getting there for an initial release 😊
|
Thank you so much! Can't wait for the official release! ✨🚀 |


Contributor checklist
./pre-commitexecutable as well asmake lintand have fixed all reported issuesDescription
Adds OpenAPI documentation to Scribe-Server, making it easier for developers to understand and integrate with our language data API.
How to test
Related issue