Krishnan79
9 months agoNew Contributor
Duplicate server variables in OpenAPI
Some one assist on this use case Facing Duplicate server variables in OpenAPI documentation lead to maintenance issues and violate the DRY principle Example: servers: - name: Server 1 ...
- 9 months ago
Hi Krishnan79
Try creating a centralized 'variables' section and used the '$ref' keyword to reference variables in each server, eliminating duplication and it improves maintenance as well.