Skip to content

Commit

Permalink
Metadata rest endpoints (#421)
Browse files Browse the repository at this point in the history
* merge metadata openapi documents

* merge into metadata.gen.yaml

* update metadata with examples

* [AUTOMATED] Update: docs/pages/api/**/*.gen.yaml

* generate *.gen.yaml before build and dev

* remove extra merge examples in github workflows

* generate analytics docs while building

* delete docs build workflow

* fix analytics example structure

* updated security additions prior to build

* update security-scheme locally

* fixed typo in security

---------

Co-authored-by: Lukas Jenicek <[email protected]>
Co-authored-by: LukasJenicek <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2024
1 parent 3576ae4 commit 014b1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
# Read the changed files from the previous step
go mod init github.com/0xsequence/docs
go get github.com/mikefarah/yq/v4@latest
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/api/api.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/api/rpc.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"BearerAuth":[]}]' docs/pages/api/analytics/analytics.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/marketplace/marketplace.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}, {"BearerAuth":[]}]' docs/pages/api/metadata/metadata.gen.yaml
Expand Down

0 comments on commit 014b1c2

Please sign in to comment.