Is there a way to sync only the openapi.json when using Git?
Originally posted by user arondeparon to the Stoplight Community on 11/02/2022 at 05:25 ET.
See question. I am really uncomfortable with the fact that when using Git, Stoplight synchronises my entire repository.
We keep OpenAPI documentation bundled with our source code, so by linking Stoplight to Git, our entire codebase is downloaded and synchronised which is obviously not something that we want.
Is there a way around this?
Skinghar (Staff) [11/02/2022 - 10:22 ET]
Hello arondeparon, We are currently working to solve this issue, eventually we will no longer expose the entire Git repository, but instead only have the files relevant to Stoplight. This is in our long term roadmap. There may be a clever way to work around this by ignoring non-api source code in the mean time, however I don't have anything specific to share at this point in time. Thank you for reaching out.
We found some documentation to assist you. https://meta.stoplight.io/docs/platform/a63ea8365060b-configure-projects