-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(auth-spec): split auth spec (#188)
* chore(auth-spec): split auth spec * chore(auth-spec): add folder structure, use shared schema file * chore: update github workflows * fix: github workflows * chore: merge gh workflow jobs * refactor(auth): use shared schemas also for OP spec, delete old spec files * refactor: simplify gh workflow * style(auth-spec): undo double quotes * refactor(OP-spec): share assetCode assetScale schemas * feat(auth-spec): add .prettierrc, single quotes * feat(auth-spec): use shared `access` * chore(specs): move RS spec into RS folder * chore: rename directory `openapi-specs` -> `openapi` * chore: update workflow paths * chore: add linting to workflow * chore: update spec publishing workflow * chore: split openapi workflows
- Loading branch information
1 parent
e45aaab
commit 9b2ffcf
Showing
11 changed files
with
1,066 additions
and
1,095 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: OpenAPI Publisher | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- openapi/** | ||
|
||
jobs: | ||
publish: | ||
workflow_run: | ||
workflows: ['OpenAPI Validator'] | ||
branches: [main] | ||
types: | ||
- completed | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
name: Check out repository | ||
|
||
- uses: readmeio/[email protected] | ||
name: Sync Open Payments API spec | ||
with: | ||
rdme: openapi openapi/RS/openapi.yaml --key=${{ secrets.README_API_KEY }} --id=${{ secrets.README_OP_API_ID }} | ||
|
||
- uses: readmeio/[email protected] | ||
name: Sync Auth Server API spec | ||
with: | ||
rdme: openapi openapi/AS/client/openapi.yaml --key=${{ secrets.README_API_KEY }} --id=${{ secrets.README_AUTH_API_ID }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
singleQuote: true |
Oops, something went wrong.