Git Product home page Git Product logo

schemas's Introduction

schemas

Schemas and spec files pertaining to OpenFeature. The Schema is available in the Buf Schema Registry, and can be found here.


When the below commands are used the generated code is placed in the parent directory

Requirements

  • A Go installation
  • You must have your GOPATH environment variable set in order to run these scripts.

The Makefile utilizes Go to install Buf to the GOPATH and execute the binary directly.

Setting up GOPATH

If you don't want to install buf to your global GOPATH, you can also set it for this repository only:

export GOPATH="$(pwd)/vendor/"

Golang:

Generate grpc-gateway, go-grpc and go stubs

make gen-go-server

Generate go-grpc and go stubs

make gen-go

go package import

go get go.buf.build/grpc/go/open-feature/flagd

Typescript:

Generate TypeScript stubs for grpc client and http/grpc input/output schema

make gen-ts

Java:

generate Java stubs for grpc client and http/grpc input/output schema

make gen-java

CSharp

generate csharp stubs for grpc client and http/grpc input/output schema

make gen-csharp

PHP:

Generate PHP stubs for grpc client

make gen-php

Ruby:

Generate Ruby stubs for grpc client

make gen-ruby

schemas's People

Contributors

james-milligan avatar toddbaert avatar github-actions[bot] avatar beeme1mr avatar tcarrio avatar josecolella avatar benjiro avatar kavindu-dodan avatar skyerus avatar

schemas's Issues

chore: add json/json-schema-v0.1.5 to schema store

JSON schema released with tag json/json-schema-v0.1.5.
This needs to be added to the schema store catalog.

Schema store repo

Extend the catalog entry found in src/api/json/catalog.json to include the new version:

{
    "name": "flagd flag configuration",
    "description": "Flag configuration for the OpenFeature spec compliant flagd provider",
    "fileMatch": [
    "flagd.json",
    "flagd.yaml",
    "flagd.yml",
    "*.flagd.json",
    "*.flagd.yaml",
    "*.flagd.yml"
    ],
    "url": "https://raw.githubusercontent.com/open-feature/schemas/main/json/flagd-definitions.json",
    "versions": {
    "0.1.1": "https://raw.githubusercontent.com/open-feature/schemas/json/json-schema-v0.1.1/json/flagd-definitions.json",
+   "X.X.X": "https://raw.githubusercontent.com/open-feature/schemas/json/json-schema-vX.X.X/json/flagd-definitions.json"
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.