Skip to content

Webview version of Geliver UI for support internally in vscode editor.

Notifications You must be signed in to change notification settings

Oskang09/geliver-vscode

Repository files navigation

Extension Marketplace

geliver

Geliver UI support for vscode editor, natively support with .proto files. But if you need to have a complete feature still suggest to use Postman.

Features

  • Request, Response History
  • Collection and Preset
  • App and Editor Theme
  • Auto import endpoints from servers
  • Import & Export Data ( currently not available in vscode webview )
  • Only support UnaryCall now

Extension Settings

This extension contributes the following settings:

  • geliver.protos: default protos file path and server settings ( larger directory will take longer to load )
  • geliver.app_theme: default app theme
  • geliver.editor_theme: default editor theme

Example Settings & Screenshot

structure

image

Advanced: Faker Data Generation

If you want to have fake data when selecting endpoint to call, you can do with proto custom field options as below. Currently it's generating using Faker. As example if you want to have random names you can make proto as below. It will call faker.name.findName().

import "google/protobuf/descriptor.proto";
extend google.protobuf.FieldOptions {
    optional string geliver = 50000;
}

message ExampleRequest {
    string ID  = 1;
    string OrganizationID = 2 [(geliver)="name.findName"];
}

Todo

  • Implement client-streaming, server-streaming, and bidirectional-streaming gRPC methods

Known Issues

  1. Currently webview is not able to import & export data.
  2. Data not cached since using IndexedDB. In future maybe can use dexie-cloud.

About

Webview version of Geliver UI for support internally in vscode editor.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages