Forum Discussion

Stoplight's avatar
Stoplight
Community Manager
9 months ago

Updating 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 Stopligh...
  • Stoplight's avatar
    9 months ago

    Skinghar (Staff) [05/16/2023 - 10:26 ET]

    Hello Markg, After deeper investigation and speaking with engineering. You are seeing expected behavior. They shared a suggestion of the following to try to assist you. 

    "What they could do is: remove all old documents they want to replace with new ones import new documents (seems like they could use the import feature we have, no need to copy&paste anything, https://docs.stoplight.io/docs/platform/58bf119ddff88-work-with-files#import-file) now, in code view, manually re-assign all the IDs publish the changes"

    Hope this helps!