-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: Added an experimental --sparse option to limit pbjs output to ac…
…tually referenced types within main files; Other: Added a few more common google types from google/api, see #433
- Loading branch information
Showing
15 changed files
with
561 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
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
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 |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{ | ||
"nested": { | ||
"google": { | ||
"nested": { | ||
"api": { | ||
"nested": { | ||
"http": { | ||
"type": "HttpRule", | ||
"id": 72295728, | ||
"extend": "google.protobuf.MethodOptions" | ||
}, | ||
"HttpRule": { | ||
"oneofs": { | ||
"pattern": { | ||
"oneof": [ | ||
"get", | ||
"put", | ||
"post", | ||
"delete", | ||
"patch", | ||
"custom" | ||
] | ||
} | ||
}, | ||
"fields": { | ||
"get": { | ||
"type": "string", | ||
"id": 2 | ||
}, | ||
"put": { | ||
"type": "string", | ||
"id": 3 | ||
}, | ||
"post": { | ||
"type": "string", | ||
"id": 4 | ||
}, | ||
"delete": { | ||
"type": "string", | ||
"id": 5 | ||
}, | ||
"patch": { | ||
"type": "string", | ||
"id": 6 | ||
}, | ||
"custom": { | ||
"type": "CustomHttpPattern", | ||
"id": 8 | ||
}, | ||
"selector": { | ||
"type": "string", | ||
"id": 1 | ||
}, | ||
"body": { | ||
"type": "string", | ||
"id": 7 | ||
}, | ||
"additionalBindings": { | ||
"rule": "repeated", | ||
"type": "HttpRule", | ||
"id": 11 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"protobuf": { | ||
"nested": { | ||
"MethodOptions": { | ||
"fields": {}, | ||
"extensions": [ | ||
[ | ||
1000, | ||
536870911 | ||
] | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
syntax = "proto3"; | ||
|
||
package google.api; | ||
|
||
import "google/api/http.proto"; | ||
import "google/protobuf/descriptor.proto"; | ||
|
||
extend google.protobuf.MethodOptions { | ||
|
||
HttpRule http = 72295728; | ||
} |
Oops, something went wrong.