-
Notifications
You must be signed in to change notification settings - Fork 18
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
[AGORA-1849] Formal OAS for Agora API (delegates, auth, pagination) #212
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@kent @andreitr @stepandel, how do you feel about having discussion and feedback on the proposed schema on this PR? |
should we just follow this spec @Flip-Liquid ? https://www.notion.so/argoagora/Agora-s-OP-API-Draft-Document-32b2bed3193841d4b272b5ab39167cbb |
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.
🚀
…212) * 💻📐 openapi swagger wip specification for /delegates * 🤏 📃 🆚 bump version 3.1.0; add license; qualify beta * 🏷️ rename to oas_v1.yaml * 🔂 add CI/GHA file; integrate basic swagger linting * 💻📐 add page metadata to OAS * 📐 💻 add reusable datatypes for proposal, vote, delegation; routes for props * 💫💻📐 add opt, approval, std, snapshot prop data; propType->votingStrategy; remove extended proposal * 💻 /spec route for OAS * 💻📐 add routes + contract schema
…212) * 💻📐 openapi swagger wip specification for /delegates * 🤏 📃 🆚 bump version 3.1.0; add license; qualify beta * 🏷️ rename to oas_v1.yaml * 🔂 add CI/GHA file; integrate basic swagger linting * 💻📐 add page metadata to OAS * 📐 💻 add reusable datatypes for proposal, vote, delegation; routes for props * 💫💻📐 add opt, approval, std, snapshot prop data; propType->votingStrategy; remove extended proposal * 💻 /spec route for OAS * 💻📐 add routes + contract schema
…212) * 💻📐 openapi swagger wip specification for /delegates * 🤏 📃 🆚 bump version 3.1.0; add license; qualify beta * 🏷️ rename to oas_v1.yaml * 🔂 add CI/GHA file; integrate basic swagger linting * 💻📐 add page metadata to OAS * 📐 💻 add reusable datatypes for proposal, vote, delegation; routes for props * 💫💻📐 add opt, approval, std, snapshot prop data; propType->votingStrategy; remove extended proposal * 💻 /spec route for OAS * 💻📐 add routes + contract schema
…212) * 💻📐 openapi swagger wip specification for /delegates * 🤏 📃 🆚 bump version 3.1.0; add license; qualify beta * 🏷️ rename to oas_v1.yaml * 🔂 add CI/GHA file; integrate basic swagger linting * 💻📐 add page metadata to OAS * 📐 💻 add reusable datatypes for proposal, vote, delegation; routes for props * 💫💻📐 add opt, approval, std, snapshot prop data; propType->votingStrategy; remove extended proposal * 💻 /spec route for OAS * 💻📐 add routes + contract schema
PR-Codex overview
This PR focuses on adding a Swagger Editor Validator Remote workflow to validate an OpenAPI definition file.
Detailed summary
spec/oas_v1.yaml
Delegation
,BaseDelegate
,Proposal
, etc.You can use the following in-browser OAS editor and validator to get a prettier view of the API if you'd like:
https://editor-next.swagger.io/
Just copy-paste oas_v1.yaml into it.