googleapis / googleapis/google-cloud-cpp

Support format field in Compute Discovery Doc

Aperta
#14,836 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
api: compute cpp: generator type: feature request
Lingua principale
C++
Stelle
659
Fork
462
Merge medio
1g 2h
PR unite (30g)
89

Descrizione

Compute is adding a `format` field to the JSON to accompany occurrences of `"type": "any"` in order to specify what the resulting protobuf type should be.

The generator should expect to see them together like:
```
"properties": {
"field_name": {
"type": "any",
"format": "google.protobuf.Value"
}
}
```
This would result in a .proto field definition like:
```
optional google.protobuf.Value field_name = ;
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.