Skip to content

Instantly share code, notes, and snippets.

@johnwhitton
Created June 23, 2020 00:09
Show Gist options
  • Save johnwhitton/2df22a99f7053ec1e1582ee2b35f3e95 to your computer and use it in GitHub Desktop.
Save johnwhitton/2df22a99f7053ec1e1582ee2b35f3e95 to your computer and use it in GitHub Desktop.
Rosetta grpc definition generation error
$ gnostic api.yaml --grpc-out=.
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: AccountBalanceRequest" keys:"components" keys:"schemas" keys:"AccountBalanceRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: AccountBalanceResponse" keys:"components" keys:"schemas" keys:"AccountBalanceResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'example' is not supported for the schema: metadata" keys:"components" keys:"schemas" keys:"AccountBalanceResponse" keys:"properties" keys:"metadata" keys:"example"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: BlockRequest" keys:"components" keys:"schemas" keys:"BlockRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: BlockResponse" keys:"components" keys:"schemas" keys:"BlockResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: BlockTransactionRequest" keys:"components" keys:"schemas" keys:"BlockTransactionRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: BlockTransactionResponse" keys:"components" keys:"schemas" keys:"BlockTransactionResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: MempoolRequest" keys:"components" keys:"schemas" keys:"MempoolRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: MempoolResponse" keys:"components" keys:"schemas" keys:"MempoolResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: MempoolTransactionRequest" keys:"components" keys:"schemas" keys:"MempoolTransactionRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: MempoolTransactionResponse" keys:"components" keys:"schemas" keys:"MempoolTransactionResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'example' is not supported for the schema: metadata" keys:"components" keys:"schemas" keys:"MempoolTransactionResponse" keys:"properties" keys:"metadata" keys:"example"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: NetworkListResponse" keys:"components" keys:"schemas" keys:"NetworkListResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: NetworkRequest" keys:"components" keys:"schemas" keys:"NetworkRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: NetworkStatusResponse" keys:"components" keys:"schemas" keys:"NetworkStatusResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: NetworkOptionsResponse" keys:"components" keys:"schemas" keys:"NetworkOptionsResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: ConstructionMetadataRequest" keys:"components" keys:"schemas" keys:"ConstructionMetadataRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: ConstructionMetadataResponse" keys:"components" keys:"schemas" keys:"ConstructionMetadataResponse" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'example' is not supported for the schema: metadata" keys:"components" keys:"schemas" keys:"ConstructionMetadataResponse" keys:"properties" keys:"metadata" keys:"example"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: ConstructionSubmitRequest" keys:"components" keys:"schemas" keys:"ConstructionSubmitRequest" keys:"required"
level:INFO code:"SCHEMAFIELDS" text:"Field: 'required' is not supported for the schema: ConstructionSubmitResponse" keys:"components" keys:"schemas" keys:"ConstructionSubmitResponse" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: networkList" keys:"paths" keys:"/network/list" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: networkList" keys:"paths" keys:"/network/list" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: networkStatus" keys:"paths" keys:"/network/status" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: networkStatus" keys:"paths" keys:"/network/status" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: networkOptions" keys:"paths" keys:"/network/options" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: networkOptions" keys:"paths" keys:"/network/options" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: block" keys:"paths" keys:"/block" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: block" keys:"paths" keys:"/block" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: blockTransaction" keys:"paths" keys:"/block/transaction" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: blockTransaction" keys:"paths" keys:"/block/transaction" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: mempool" keys:"paths" keys:"/mempool" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: mempool" keys:"paths" keys:"/mempool" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: mempoolTransaction" keys:"paths" keys:"/mempool/transaction" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: mempoolTransaction" keys:"paths" keys:"/mempool/transaction" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: accountBalance" keys:"paths" keys:"/account/balance" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: accountBalance" keys:"paths" keys:"/account/balance" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: constructionMetadata" keys:"paths" keys:"/construction/metadata" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: constructionMetadata" keys:"paths" keys:"/construction/metadata" keys:"post" keys:"requestBody" keys:"required"
level:INFO code:"OPERATIONFIELDS" text:"Field: 'tags' is not supported for operation: constructionSubmit" keys:"paths" keys:"/construction/submit" keys:"post" keys:"tags"
level:INFO code:"REQUESTBODYFIELDS" text:"Field: 'required' is not supported for the request: constructionSubmit" keys:"paths" keys:"/construction/submit" keys:"post" keys:"requestBody" keys:"required"
Errors reading api.yaml
Plugin error: [file "api.proto" included an unresolvable reference to "api.NetworkIdentifierYaml"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment