Updated vednor files

This commit is contained in:
Serguei Bezverkhi
2018-02-15 08:50:31 -05:00
parent 18a4ce4439
commit 1f1e8cea37
3299 changed files with 834 additions and 1051200 deletions

View File

@ -1,10 +0,0 @@
build:
go get github.com/golang/protobuf/protoc-gen-go
cd ..; ./COMPILE-EXTENSION.sh
generate-gnostic --extension x-sampleone.json --out_dir=$(GOPATH)/src/github.com/googleapis/gnostic/extensions/sample/generated
cd generated/gnostic-x-sampleone/proto; protoc --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto
cd generated/gnostic-x-sampleone; go get; go install
generate-gnostic --extension x-sampletwo.json --out_dir=$(GOPATH)/src/github.com/googleapis/gnostic/extensions/sample/generated
cd generated/gnostic-x-sampletwo/proto; protoc --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto
cd generated/gnostic-x-sampletwo; go get; go install

View File

@ -1,55 +0,0 @@
{
"definitions": {
"Book": {
"type": "object",
"id": "x-sampleone-book",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "integer"
}
}
},
"Shelf": {
"type": "object",
"id": "x-sampleone-shelf",
"required": [
"foo1",
"bar"
],
"properties": {
"foo1": {
"type": "integer",
"format": "int32"
},
"bar": {
"type": "integer"
}
}
},
"PrimitiveString": {
"type": "string",
"id": "x-sampleone-mysimplestring"
},
"PrimitiveNumber": {
"type": "number",
"id": "x-sampleone-mysimplenumber"
},
"PrimitiveBoolean": {
"type": "boolean",
"id": "x-sampleone-mysimpleboolean"
},
"PrimitiveInt64": {
"type": "string",
"id": "x-sampleone-mysimpleint64"
}
}
}

View File

@ -1,38 +0,0 @@
{
"definitions": {
"Book": {
"type": "object",
"id": "x-sampletwo-book",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "integer"
}
}
},
"Shelf": {
"type": "object",
"id": "x-sampletwo-shelf",
"required": [
"foo1",
"bar"
],
"properties": {
"foo1": {
"type": "integer",
"format": "int32"
},
"bar": {
"type": "integer"
}
}
}
}
}