Skip to content

Commit

Permalink
Moves openapi specs to docs folder, adds combined spec file (#2856)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickzelei authored Oct 24, 2024
1 parent d4eaa40 commit d3426e6
Show file tree
Hide file tree
Showing 17 changed files with 20,705 additions and 89 deletions.
87 changes: 0 additions & 87 deletions backend/scripts/gen.sh

This file was deleted.

2 changes: 1 addition & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ plugins:
opt: json,proto_docs.json

- local: protoc-gen-connect-openapi
out: backend/gen/openapi
out: docs/openapi
opt:
- content-types=json

Expand Down
1 change: 1 addition & 0 deletions docs/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ charts
dev
protos
docs/transformers/gen-javascript-transformer.md
openapi
32 changes: 32 additions & 0 deletions docs/openapi-merge.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"inputs": [
{
"inputFile": "openapi/mgmt/v1alpha1/anonymization.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/api_key.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/auth.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/connection_data.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/connection.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/job.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/metrics.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/transformer.openapi.yaml"
},
{
"inputFile": "openapi/mgmt/v1alpha1/user_account.openapi.yaml"
}
],
"output": "openapi/neosync.mgmt.v1alpha1.json"
}
File renamed without changes.
Loading

0 comments on commit d3426e6

Please sign in to comment.