-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: enhances jsonschema Signed-off-by: Grant Timmerman <timmerman+devrel@google.com> * docs: revert tools readme registry Signed-off-by: Grant Timmerman <timmerman+devrel@google.com> * fix: jsonschema types to clouddeventTypes Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
- Loading branch information
Showing
14 changed files
with
222 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
jsonschema/google/events/cloud/cloudbuild/v1/BuildEventData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
jsonschema/google/events/cloud/firestore/v1/DocumentEventData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
jsonschema/google/events/cloud/pubsub/v1/MessagePublishedData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
jsonschema/google/events/cloud/scheduler/v1/SchedulerJobData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
jsonschema/google/events/cloud/storage/v1/StorageObjectData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
jsonschema/google/events/firebase/analytics/v1/AnalyticsLogData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
jsonschema/google/events/firebase/database/v1/ReferenceEventData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 6 additions & 1 deletion
7
jsonschema/google/events/firebase/remoteconfig/v1/RemoteConfigEventData.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,17 @@ | ||
# Tools | ||
# Google CloudEvent Repo Tools | ||
|
||
The tools in this directory are not required in order to *use* the | ||
rest of the content of this repository. They are present to help | ||
create or maintain the content. | ||
|
||
While they are *currently* written in C#, requiring .NET Core 3.1 to | ||
build and run, this is purely incidental. Pull requests to rewrite | ||
the tools in languages more commonly used at Google (e.g. Java, Go | ||
or Python) are welcome. | ||
## [registry](./registry/readme.md) | ||
|
||
## registry | ||
This tool edits the top-level [README](../README.md) event list. | ||
|
||
This tool edits the top-level [README](../README.md) to maintain the | ||
event registry. It requires that the protobuf descriptor set (a | ||
protobuf representation of all the .proto files) is already | ||
compiled via protoc. (The [root compile.sh script](../compile.sh) | ||
does this.) | ||
## [quicktype-wrapper](./quicktype-wrapper/README.md) | ||
|
||
## quicktype-wrapper | ||
This tool wraps the `quicktype` tool to generate any language using JSON schemas. | ||
|
||
This tool wraps the quicktype tool to generate code using JSON Schema. | ||
## [proto2jsonschema](./proto2jsonschema/README.md) | ||
|
||
See [`quicktype-wrapper/`](./quicktype-wrapper/README.md). | ||
This tool converts protobufs to JSON schemas. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.