Introducing G2.ai, the future of software buying.Try now
Olivia S.
OS
Network Engineer at ActioNet, Inc.

The best method of splitting OpenAPIs is to divide them based on functionality or domain. This means grouping related endpoints together, which can make the API easier to understand and maintain. Additionally, consider using versioning to manage changes over time and ensure backward compatibility.

Open the API documents.
1 comment
Looks like you’re not logged in.
Users need to be logged in to answer questions
Log In
Daniel W.
DW
0
There's many ways to separate an Open API specification file, but it all boils down to using `$ref`. You can use `$ref` in certain contexts to refer to other specification files for components or even JSON Schema files. Stoplight Studio can help you manage your refs as well: https://meta.stoplight.io/docs/platform/ZG9jOjM2OTM3Mjk0-using-references
Looks like you’re not logged in.
Users need to be logged in to write comments
Log In
Reply