Could any one suggest In Open Api Spec 3.0 how to refer all error codes from different JSON file

You can use externalValue tag to refer the json file

https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#user-content-exampleexternalvalue

1 Like