-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I'm trying to convert the following Json file: https://github.com/oracle/hospitality-api-docs/blob/main/rest-api-specs/property/lov.json
Using this command:
gnostic --grpc-out=api ../hospitality-api-docs/rest-api-specs/property/lov.json
and i'm getting this error:
Errors reading ../hospitality-api-docs/rest-api-specs/property/lov.json
Plugin error: [file "lov.proto" included an unresolvable reference to "GetChannelParametersLOVResponses"]
If I then try the --resolve-refs option like this:
gnostic --grpc-out=api --resolve-refs ../hospitality-api-docs/rest-api-specs/property/lov.json
I get another slightly different error:
Errors reading ../hospitality-api-docs/rest-api-specs/property/lov.json
Plugin error: [file "lov.proto" included an unresolvable reference to "lov.GetChannelParametersLOVOK"]
There's another file that has problems too:
https://github.com/oracle/hospitality-api-docs/blob/main/rest-api-specs/property/fofcfg.json
but the rest convert correctly. Any ideas on what is happening here as the Json files seem to be valid?
Thanks.
debuggerpk, chris-pinola-rf, nomad-software, geritol and wkrige
Metadata
Metadata
Assignees
Labels
No labels