3

I cannot get Postman to recognize https://chat.googleapis.com/$discovery/rest?version=v1

I normally import Swagger documents and it creates collections for me without any problems. But this is not a Swagger file, it's a Google "discovery document". I would have thought that Postman would somehow recognize this Google format but it doesn't. Is says: "Error while importing: format not recognized...".

My question: Without adding all methods separately, how do I "consume" / import this API in a / as a Postman collection?

Helen
  • 87,344
  • 17
  • 243
  • 314
admlange
  • 31
  • 2

2 Answers2

0

I've not used it but you could try the Google Discovery to OpenAPI 3.x Converter, which converts Google discovery documents to OpenAPI (Swagger) format.

Nexus
  • 749
  • 6
  • 12
0

I have found another maybe even better convertor (with online option too): api-spec-converter

KoJaman
  • 51
  • 4