REST API : OpenAPI file schema

HI, I would like to integrate a client for REST API in C#.
It’s possible to have an OpenAPI file who describe the scheme
for the PlanetPress Connect features.
If yes, we can generate automatically client code.

Herve

That is unfortunately not available.
You will have to rely on the documentation.

I do have an (almost) complete Postman collection and I believe it can be made a community effort to update it and maintain it.

I kinda think Postman can generate an OpenAPI schema from a collection but I am unsure. Anyway before I could share it I’d have to go through each endpoint to check that no personal\organization data is leaked.

Would that be of any interest?

1 Like

That would be very helpful!

I had started my own Postman Collection a while back, but I had only gone as far as the DataMapper module (and authentication, obviously). Then I stopped using Postman in favor of VSCode’s Thunder Client, but because the latter did not support nested folder structures, I kind of lost interest.

Now, I see the Thunder client can indeed handle nested folders in the API structure, so I would be able to import a full Postman collection into it.

Would others be interested as well?

1 Like

I found this : Able to convert Postman Collection to OpenAPI.
https://www.postman.com/postman/workspace/postman-open-technologies-convert-postman-collections-into-openapi/overview

Thanks for the link!

I will scrape anything relevant to our organization and export the Open API spec to a public GitHub repository so that anyone will be welcome to make pull request to add\fix\maintain the endpoints as Connect evolve.

Prevent when you put on GitHub to have the name of repository.

Begin a library