Stoplight
Admin
2 years agoUpdating OpenAPI file assigns new Stoplight stable IDs
Originally posted by user markg to the Stoplight Community on 04/20/2023 at 18:14 ET.
Hi there, I uploaded an OpenAPI spec generated by a third-party tool to get started. I then copied the Stoplight stable IDs that Stoplight generated into our OpenAPI spec, so that our resources and models would stay at the same URLs.
But when I uploaded it again (which I couldn't find a way to do other than like, copying the OpenAPI spec text into the Code tab in the Studio), it assigns totally new Stoplight IDs to them, overwriting the ones that were assigned before.
Is there a way to update our OpenAPI file without these stable IDs getting overwritten? Thank you!