Skip to content

Commit

Permalink
docs: update provider description
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasZeissner committed Sep 17, 2024
1 parent 13e35d8 commit 6d76a8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 22 deletions.
21 changes: 8 additions & 13 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,19 @@
page_title: "cosmo Provider"
subcategory: ""
description: |-
The Cosmo provider is used to interact with WunderGraph's Cosmo API.
It can be used to manage the following resources:
Namespace: Create or read namespaces.Federated Graph: Create or read federated graphs.Router Token: Create router tokens to be used with the router.Subgraph: Create and publish or read subgraphs.Monograph: Create or read monographs.
For more information on Cosmo, please refer to the Cosmo Documentation https://cosmo-docs.wundergraph.com/.
The Cosmo provider allows you to interact with WunderGraph's Cosmo API, managing key resources.
It supports creating and reading namespaces, federated graphs, and monographs.
You can also generate router tokens for use with the router, and manage subgraphs by creating, publishing, or reading them.
Refer to the official Cosmo Documentation https://cosmo-docs.wundergraph.com/ for more details.
---

# cosmo Provider

The Cosmo provider is used to interact with WunderGraph's Cosmo API.
It can be used to manage the following resources:
The Cosmo provider allows you to interact with WunderGraph's Cosmo API, managing key resources.
It supports creating and reading namespaces, federated graphs, and monographs.
You can also generate router tokens for use with the router, and manage subgraphs by creating, publishing, or reading them.

- Namespace: Create or read namespaces.
- Federated Graph: Create or read federated graphs.
- Router Token: Create router tokens to be used with the router.
- Subgraph: Create and publish or read subgraphs.
- Monograph: Create or read monographs.

For more information on Cosmo, please refer to the [Cosmo Documentation](https://cosmo-docs.wundergraph.com/).
Refer to the official [Cosmo Documentation](https://cosmo-docs.wundergraph.com/) for more details.

## Example Usage

Expand Down
13 changes: 4 additions & 9 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,11 @@ func (p *CosmoProvider) Metadata(ctx context.Context, req provider.MetadataReque
func (p *CosmoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse) {
resp.Schema = schema.Schema{
MarkdownDescription: `
The Cosmo provider is used to interact with WunderGraph's Cosmo API.
It can be used to manage the following resources:
The Cosmo provider allows you to interact with WunderGraph's Cosmo API, managing key resources.
It supports creating and reading namespaces, federated graphs, and monographs.
You can also generate router tokens for use with the router, and manage subgraphs by creating, publishing, or reading them.
- Namespace: Create or read namespaces.
- Federated Graph: Create or read federated graphs.
- Router Token: Create router tokens to be used with the router.
- Subgraph: Create and publish or read subgraphs.
- Monograph: Create or read monographs.
For more information on Cosmo, please refer to the [Cosmo Documentation](https://cosmo-docs.wundergraph.com/).
Refer to the official [Cosmo Documentation](https://cosmo-docs.wundergraph.com/) for more details.
`,
Attributes: map[string]schema.Attribute{
"api_url": schema.StringAttribute{
Expand Down

0 comments on commit 6d76a8f

Please sign in to comment.