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

[AGORA-1849] Formal OAS for Agora API (delegates, auth, pagination) #212

Merged
merged 23 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
70772f6
💻📐 openapi swagger wip specification for /delegates
Flip-Liquid Mar 31, 2024
7c18ea2
💻📐 openapi swagger wip specification for /delegates
Flip-Liquid Mar 31, 2024
0b98064
🤏 📃 🆚 bump version 3.1.0; add license; qualify beta
Flip-Liquid Apr 1, 2024
1077786
🏷️ rename to oas_v1.yaml
Flip-Liquid Apr 1, 2024
3fcb585
🔂 add CI/GHA file; integrate basic swagger linting
Flip-Liquid Apr 1, 2024
89bd2a5
🤏🪳 remove deprecated exmaples syntax
Flip-Liquid Apr 1, 2024
c2af1ab
🤏🔂 fixup to CI; use ApiDOM validator for OAS v 3.1.0
Flip-Liquid Apr 1, 2024
ee4ceac
Merge branch 'flip/openapi_spec' of https://github.com/voteagora/agor…
Flip-Liquid Apr 3, 2024
d89a168
🤏📝 📐 fixup examples; add issue type for delegates
Flip-Liquid Apr 3, 2024
e114f73
❌ delete old spec
Flip-Liquid Apr 3, 2024
f54d5c3
💻📐 add page metadata to OAS
Flip-Liquid Apr 3, 2024
ed6e0b4
📐💻 update per notion draft spec
Flip-Liquid Apr 8, 2024
4a9a407
Merge branch 'main' of https://github.com/voteagora/agora-next into f…
Flip-Liquid Apr 8, 2024
4a93d8d
Merge branch 'main' of https://github.com/voteagora/agora-next into f…
Flip-Liquid Apr 11, 2024
3fe732a
Merge branch 'flip/openapi_spec' of https://github.com/voteagora/agor…
Flip-Liquid Apr 11, 2024
8cebd15
📐 💻 add reusable datatypes for proposal, vote, delegation; routes for…
Flip-Liquid Apr 11, 2024
4ce62e2
💫 feedback: remove openToSponser; fix typo
Flip-Liquid Apr 12, 2024
3b7eeca
💫 explicitly have delegate and delegator addresses in delegation
Flip-Liquid Apr 12, 2024
8878e1f
💫💻📐 add opt, approval, std, snapshot prop data; propType->votingStrat…
Flip-Liquid Apr 12, 2024
cc87c4e
💫 array of strings for approval params
Flip-Liquid Apr 12, 2024
c33269c
💻 /spec route for OAS
Flip-Liquid Apr 12, 2024
6b368de
💻📐 add routes + contract schema
Flip-Liquid Apr 12, 2024
3f94350
💫🤏 abstention->abstain; remove dup'd signatures
Flip-Liquid Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 19 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,22 @@ on:
- 'main'

jobs:
lint-prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
- name: Lint with Prettier
run: yarn check-prettier
swagger_lint:
runs-on: ubuntu-latest
name: Swagger Editor Validator Remote

steps:
- uses: actions/checkout@v2
- name: Validate OpenAPI definition
uses: char0n/apidom-validate@v1
with:
fails-on: 2
definition-file: spec/oas_v1.yaml
lint-prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: yarn install
- name: Lint with Prettier
run: yarn check-prettier
Loading
Loading