Skip to content

[Feature] Add support to auto generate client whenever SpaceCloud's RPC provider gets updated #1681

Description

@YourTechBud

The problem faced currently?

I need to manually run the spacectl client gen whenever I want consume the latest published APIs. This required me to perform the following steps:

  • Dowload the openapi.json file from SC
  • Run the client gen command

How can we solve it?

  • Use the pubsub provider of SC to generate events whenever RPC provider updates.
  • Create a spacectl client sync --url <SC URL> command to:
    • Subscribes to RPC provider provisioned event
    • On event received generate the client based on the openapi present in the event payload

If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions