We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am currently trying to combine a couple of different swagger files.
Now I keep getting Name conflict in definitions Because some swagger files have the same definitions. Is there a possibility to rename or merge them?
Name conflict in definitions
The text was updated successfully, but these errors were encountered:
I don't know if is too late, buy try deleting the security definitions from each swagger file and add it dynamically by code.
Like:
const swaggerDocument = require('/path/to/swagger.json'); const securityDefinitions = { OAuth2: { ..... // Security definition for OAuth2 }, }; const security = [{ OAuth2: [], // Security for OAuth2 }]; swaggerDocument.securityDefinitions = securityDefinitions; swaggerDocument.security = security;
Sorry, something went wrong.
No branches or pull requests
I am currently trying to combine a couple of different swagger files.
Now I keep getting
Name conflict in definitions
Because some swagger files have the same definitions. Is there a possibility to rename or merge them?The text was updated successfully, but these errors were encountered: