Beebout
Beebout

Reputation: 141

GX 15 U6 Java - OpenAPI (re)generation

I am exposing some REST services and GX is generating the OpenAPI document - very cool. I had one or more objects that I exposed early on that I decided not to expose, but those objects are still in the OpenAPI document (default.yaml). The only way I have found to get rid of those old 'artifacts' is to Rebuild All (which takes 3 hours).

Is there a way to force the regeneration of the default.yaml file without doing a Rebuild All? If not, can this be added somewhere as an option?

Thanks for any advice.

Upvotes: 1

Views: 94

Answers (1)

sebagomez
sebagomez

Reputation: 9609

Ok, here's a hack you can do.
Go to <KB folder>\GXRESTSPC\<Version folder> and delete the .json files from the previously exposed objects.
Also, go to you <environment>\web folder and delete the default.yaml file.

This should do it.

Upvotes: 2

Related Questions