Questions tagged [google-api-linter]

4 questions
5
votes
2 answers

Deploying Google Cloud Endpoints configuration fails Google API Linter recommendations

Update: Cloud Endpoints Portal is being deprecated and will no longer be available after 21 March 2023. After following Deploying the Endpoints configuration I have successfully deployed my compiled .proto file and gRPC API configuration…
3
votes
3 answers

How to solve API Lint error in AOSP build?

I'm using AOSP source file.I have created new service in Android 9 & it was running. When I tried to reuse the same in Android 11, getting API Lint Error from auto generated file (out folder) 1. IHelloworldService.java:43: error: Methods calling…
1
vote
1 answer

Why shouldn't custom methods use the URL for transferring data?

TL,DR; When implementing custom methods, "the HTTP configuration [...] must use the body:* clause and all remaining request message fields shall map to the HTTP request body.". Why? I have a problem with Google's API Design Guide which I'm…
Jack
  • 10,313
  • 15
  • 75
  • 118
0
votes
1 answer

What do protofiles represent for googles API Linter?

since google did not create extensive documentation for their API Linter and I cannot find anything from other sources, i wanted to ask here. From what exactly am i supposed to create protofiles and what do they represent? As I understood, these…