swagger one parameter or the other code example Example: swagger parameters oneof # Correct oneOf: - type: string - type: integer