https://pulumi.com logo
Title
f

full-artist-27215

05/06/2022, 8:48 PM
Is there anything like a swagger definition for the Pulumi Service API? Interested in trying some code generation.
e

echoing-dinner-19531

05/06/2022, 9:20 PM
w

white-balloon-205

05/06/2022, 11:20 PM
There is also the documentation of the REST API - it's in prose not Swagger, but could still be useful. https://www.pulumi.com/docs/reference/service-rest-api/
f

full-artist-27215

05/09/2022, 1:31 PM
@white-balloon-205 Yup, that's what I've been using so far; it's been very helpful
d

damp-honey-93158

06/16/2022, 4:02 PM
Hi Chris - what tools are you using to do a codegen from Swagger or the provider schema?
f

full-artist-27215

06/22/2022, 2:13 PM
@damp-honey-93158 Nothing yet... I was just writing some code to generate a map of all the interrelationships between our various projects and stacks (based on stack references) and was writing a bunch of boilerplate to wrap the API calls into a library. I was just curious if there was anything available now to help drive some of that automatically.